FINDING PANVALET LIBRARIES
search cancel

FINDING PANVALET LIBRARIES

book

Article ID: 52135

calendar_today

Updated On:

Products

PanApt PanAudit Panvalet

Issue/Introduction

Is there a set of characteristics to use to search for Panvalet libraries? Are they always DSORG=DA and RECFM=F?

Environment

Release: 14.6

Resolution

1 - Search datasets with LRECL=0, that should narrow the search.
2 - The DSORG should be DA and the RECFM=FS is the default.
3 - Take all of those datasets and run an IDCAMS job to dump the 1st block of the dataset.

Sample JCL follows:
//STEP1 EXEC PGM=IDCAMS    
//LIBDD1 DD DISP=SHR,DSN=possible.panlib,UNIT=3390,
//       VOL=SER=volser    
//SYSPRINT DD SYSOUT=Y  
//SYSIN  DD *
   PRINT INFILE(LIBDD1) COUNT(1)
//   

If it's a PANLIB, the 1st 3 characters will be the character representation of the release and version the PANLIB was created under/converted to.

For example, if it's a PANLIB, the 1st 3 characters will be x'F1F4F2' (142) or x'F1F4F5' (145) or x'F1F4F6' (146).