Librarian/Panvalet How to identify Lirarian and Panvalet datasets

book

Article ID: 192728

calendar_today

Updated On:

Products

CA Librarian

Issue/Introduction

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)?

 

Environment

Release : 4.4

Component : CA Librarian

Resolution

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......................*