IBM Security Z Security

Security for Z

Join this online user group to communicate across Z Security product users and IBM experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

how to use if statement in carla code

  • 1.  how to use if statement in carla code

    Posted Thu July 15, 2021 10:32 PM

    i have to SMF record that have bit value corresponding to event

    for example if bit=3 it should be logon.so how i can change the bit value to string logon in carla code


    #Support
    #SupportMigration
    #ZSecurity


  • 2.  RE: how to use if statement in carla code

    Posted Wed July 21, 2021 09:13 AM

    Hello,

    The following define can be used to check bit 3 of the newlist type=SMF field user, as an example of what is possible:

    define type=smf also_a_logon("action",str$blank("logon "),6) boolean where ,

    user='..1.....'b

    and then also_a_logon would be added to your sortlist and would show "logon" when the bit is on, and blank when it is off.

    Regards, Mike


    #Support
    #ZSecurity
    #SupportMigration