CICS

  • 1.  Names of CICS program loaded from the RPL

    Posted Mon December 13, 2021 06:35 AM
    Hi

    We have an old library in the CICS RPL. and I need to know which programs are being loaded from this library by CICS. From the CICS statistics I
    get only the counts and not the names and the CICS log is not much help because there are hundreds of programs loaded from other libraries
    in the RPL.


    Ron

    ------------------------------
    Ron Mascarenhas
    ------------------------------


  • 2.  RE: Names of CICS program loaded from the RPL

    Posted Mon December 13, 2021 07:13 AM
    Hi Ron, on the Program table there's the RPLID field ('Data set offset number' or 'RPL number' in the UIs like CICS Explorer and WUI). That tells you the 1-indexed position in the DFHRPL concatenation. If you filter to just the position of your old library, you'll see what gets loaded from there.

    ------------------------------
    Ben Cox
    Software Designer
    IBM
    ------------------------------



  • 3.  RE: Names of CICS program loaded from the RPL

    Posted Mon December 13, 2021 08:19 AM
    Hi Ron,

    If you know the library which you want to know which programs are loaded from, you can simply do a 
    CEMT INQUIRE PROGRAM LIBRARYDSN('XXXXXXX') 

    This will return the programs loaded from the DSN inputted.

    ------------------------------
    Lewis James
    ------------------------------



  • 4.  RE: Names of CICS program loaded from the RPL

    Posted Mon December 13, 2021 08:29 AM
    I'd definitely prefer Lewis' solution over mine - saves on the arithmetic! (Also accessible via the 'DS Name' column in CICS Explorer)

    ------------------------------
    Ben Cox
    Software Designer
    IBM
    ------------------------------



  • 5.  RE: Names of CICS program loaded from the RPL

    Posted Tue December 14, 2021 08:56 AM
    Hi Ron,
    Which statistics are you looking at?  DFHSTUP prints the dsname of the library from which a program was loaded (on the right hand side).  Library dsname is found in the loader resource statistics (stats id 25) record, which is mapped by CICS.SDFHMAC(DFHLDRDS).

    ------------------------------
    Raymond Philippe
    ------------------------------