Report of locked Panvalet members based on userid
search cancel

Report of locked Panvalet members based on userid

book

Article ID: 6139

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

How to run a report against a Panvalet library to show which members have been locked based on a userid.

Resolution

Use the PAN#2 ++PRINT AUDIT command.  The report will show the members with the lock status and the userid who issued the lock.

Sample JCL::

//STEP1 EXEC PGM=PAN#2 
//STEPLIB DD DSN=YOUR.PANVALET.CBA3LINK,DISP=SHR
//PANDD1 DD DSN=YOUR.PANVALET.PANLIB,DISP=SHR
//PANDD2 DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSPUNCH DD SYSOUT=*
//SYSIN DD *
++PRINT AUDIT
//

 

Sample Report:

 

                                                                     ------ UPDATE STATUS -----           ------ LOCK STATUS -------


NAME           LVL     USER   TYPE     STATUS       USERID       DATE       TIME          USERID     DATE         TIME

SAMPLE2       2            3    JCL       PAE            ########  03/07/07 15:54:19
SAMPLE3       3            6    COBOL  TAE            ########  03/08/06 12:40:47      ########  03/08/06    12:36:10
TEST001       1           1    JCL       TAE           ########   01/14/04 12:20:06
TEST2          2            6    JCL       TAE            ########  03/08/07 09:51:12      ########  03/08/06    12:36:06