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

Display DSN on Each Line

Community Support Admin

Community Support AdminWed December 02, 2020 11:13 AMBest Answer

  • 1.  Display DSN on Each Line

    Posted Tue December 01, 2020 07:57 PM

    Hello. I need to produce a report that shows IDs that have access to APF datasets. I have it working for the most part, but I'd like the DSN to print on each row. With my query below, the DSN only prints on the first row then blank from there on until the next dataset. I appreciate any suggestions. My query is:

    newlist type=sensdsn nopage

    select apf=yes or apflist=yes

    sortlist racf_acl(universal,effective) dsn


    #ZSecurity
    #SupportMigration
    #Support


  • 2.  RE: Display DSN on Each Line
    Best Answer

    Posted Wed December 02, 2020 10:11 AM

    Hello Mark,

    You can add RETAIN to your newlist to achieve this.

    All fields that are not part of a repeat group are blank in subsequent lines unless the RETAIN parameter was specified on the OPTION or NEWLIST command.

    Regards, Mike


    #SupportMigration
    #ZSecurity
    #Support


  • 3.  RE: Display DSN on Each Line
    Best Answer

    Posted Wed December 02, 2020 11:13 AM