FINDING PANVALET LIBRARIES

Document ID : KB000052135
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

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

Solution:

  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 14.5 panlib, the 1st 3 characters will be x'F1F4F5' (145).