Is there a way to produce a report that would contain the member status like Panvalet ISPF?

Document ID : KB000033288
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:
 
Is there a way to produce a Panvalet report that would contain member status information like Panvalet ISPF?
 
 
Answer:
 
Yes. Panvalet ISPF displays information about members online, but batch reports can also be used to easily display member information.
 
Executing the PAN#2 program with the ++PRINT AUDIT command will list the member name, userid, update date and time.
 
Example JCL:

//STEP1       EXEC PGM=PAN#2
//PANDD1      DD DSN=YOUR.PANLIB.LIBRARY,DISP=SHR
//SYSPRINT    DD SYSOUT=*
//SYSIN       DD *
++PRINT AUDIT
/*

 
  
Sample Report below:
                                      ------ UPDATE STATUS -----   ------ LOCK STATUS -----------
NAME        LVL  USER   TYPE  STATUS  USERID   DATE     TIME       USERID   DATE   TIME
 
 
ABC           3          COBOL PAE    HOBEL01  02/22/12 14:32:47
DRS01         1          COBOL TAE    HOBEL01  11/18/09 13:09:01
LM1           1          COBOL TAE    HOBEL01  03/12/13 13:22:40
LM1BOTHT1     1          COBOL TAE    HOBEL01  10/15/12 10:29:42
MOD1A        11   220    UNSPC PAE    HOBEL01  05/26/09 23:50:38
MOD111       11   220    UNSPC PAD    HOBEL01  05/26/09 23:50:38
MOD2          2     1    UNSPC PIE    HOBEL01  02/22/12 12:36:34
 
 
Additional Information:
 
Refer to the System Management Guide - Chapter 5: PAN#2 Library Protection - PRINT Command Section