How to get userlibs in the Rexx-interface to SDSF

194 Views Asked by At

The rexx interface to SDSF works fine to get information about spoolfiles. I am trying to list the use of userlibs for output-files. And do a "ISFEXEC O" followed by (in a loop)

ISFACT O TOKEN(..) PARM(NP ?) (PREFIX JDS_ DELAYED DELAYED2

In an inner loop I can then run through each JDX_xxxx. variable. Sofar so good. But how do I get information on userlib no. 2,3,4 ...? JDS_ODUSRLIB. gives me the first userlib. But how do I get hold of the other 7 userlibs?

I have tried for find any example bit with no luck and the documentation is not very clear on this subject.

1

There are 1 best solutions below

7
Fritz On

Have you tried the JDS_ODUSRLIB. stem? Something like

  do jx=1 to JDS_DDNAME.0   /* loop for all rows returned */
    say "UsrLib for " JDS_DDNAME.jx " is " JDS_ODUSRLIB.jx                          
  end