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
  • 1.  Use of system symbols in sortlist

    Posted Fri January 20, 2023 02:31 AM
    Hi all,
    Does zsecure carla support system symbols in sortlist stmts?
    I know you can use system symbols in JCL (and instream data) but when carla queries aren't instream it would be nice to be able to use system symbols.


    ------------------------------
    Luc Martens
    ------------------------------


  • 2.  RE: Use of system symbols in sortlist

    Posted Fri January 20, 2023 07:11 AM

    Hi Luc,

    There is no syntax construct to directly reference the value of a system symbol from a SORTLIST statement in general.

    The values of system symbols are available via NEWLIST TYPE=SYSTEM_VARIABLE. (There are sample scripts CKADQMV and CKALQMV in SCKRCARL.)

    You might generate system symbol values into a SORTLIST statement by using a query with that newlist type.

    Regards,



    ------------------------------
    Jeroen Tiggelman
    Software Development and Level 3 Support Manager IBM Security zSecure Suite
    IBM
    Delft
    ------------------------------



  • 3.  RE: Use of system symbols in sortlist

    Posted Mon January 23, 2023 07:13 AM
    thanks for you reply Jeroen.

    ------------------------------
    Luc Martens
    ------------------------------



  • 4.  RE: Use of system symbols in sortlist

    Posted Mon January 23, 2023 03:32 AM
    Edited by Rob van Hoboken Mon January 23, 2023 03:34 AM
    You might be able to use the ALLOC, DEFINE or SIMULATE SENSITIVE commands in the instream data (with system symbols) to set values that you subsequently reference in your CARLa.

    DEFINE TYPE=RACF LOCAL_SMFID(4,STR$BLANK('&SYSTEM')) TRUE
    then use LOCAL_SMFID in your SORTLISTs.

    You could even write NEWLIST NAME=xxxx OUTLIM=0 in your instream data, with a SELECT command using the resolved system symbol, that subsequent CARLa references using SELECT LIKELIST=xxxx.
    Properly using system symbols in CARLa has been a requirement for many years, you could open an RFE for your use case, or find an existing RFE that you latch on to.

    ------------------------------
    Rob van Hoboken
    ------------------------------


  • 5.  RE: Use of system symbols in sortlist

    Posted Mon January 23, 2023 07:13 AM
    Rob, thanks for your reply.

    ------------------------------
    Luc Martens
    ------------------------------