is it possible to recognise a Panvalet or Librarian library (data set) by, for example, reading a header record or looking at DSORG using standard IBM utilities or a home-grown program (i.e, something that is not using the product's access method e.g. PAM or FAIROPN)?
Release : 4.4
Component : CA Librarian
Librarian Master files can be BDAM, VSAM, PDS, or PDSE.
For Traditional BDAM and VSAM Master files, they can run an IDCAMS DUMP and the name of the Master file can be found at offset x'1CA'
//INDD DD DISP=SHR,DSN=hlq.mlq.librarian.MASTER
//OUTDD DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
PRINT INFILE(INDD) DUMP COUNT(1)
/*
For the Wide Record Master files that are PDS or PDSE, there is nothing except that the members in the library are all in a compressed format like this:
BROWSE HLQ.LIBR.V44.LVL1.TSTWRMF(BACTCPY1)
Command ===>
********************************* Top of Data ******
...ð................µ.................~.....73......
******************************** Bottom of Data ****
Panvalet PANLIBs can be BDAM or PS.
If you dump the first record with IDCAMS, the version of Panvalet used to create the PANLIB is in the first 3 bytes --
*142......S......................*
*146......S......................*