search cancel

About the command to fix the header bit of the member

book

Article ID: 243468

calendar_today

Updated On:

Products

Panvalet

Issue/Introduction

Regardless of the library version, members created with older Panvalet(R14.2 or R14.3 G9509) have a potential bug.
It is possible that the bit that determines whether a member has header record information is turned OFF.
This can cause member corruption(PV033 LIBRARY MALFUNCTION ERROR).

How to fix member header bits?

Environment

Release : ALL

Component : Panvalet

Resolution

Using the ++UPGRADE command does not modify the member header record.
We recommend that you use the ++COMMENT command with comments that provides an audit trail.
If you want to modify the entire library, use the procedure of creating a new PANLIB in 14.6 and running a ++TRANSFER from 14.1/14.2 PANLIB to 14.6 PANLIB.

Sample JCL:

//STEP01  EXEC PGM=PAN#4
//STEPLIB  DD  DSN=PANVLT.R146.CBA3LINK,DISP=SHR
//SYSPRINT DD  SYSOUT=*
//PANDD1   DD  DSN=PANVLT.USER.PANLIB.NEW,DISP=(NEW,CATLG,DELETE),
//         UNIT=SYSDA,SPACE=(CYL,nn),VOL=SER=xxxxxx,DCB=(DSORG=DA)
//SYSIN    DD  *
++CLEAR RECORDS=aa,DATASETS=bbbb
/*
//*
//STEP02  EXEC PGM=PAN#2,REGION=4M
//STEPLIB  DD  DSN=PANVLT.R146.CBA3LINK,DISP=SHR
//SYSPRINT DD  SYSOUT=*
//PANDD1   DD  DSN=PANVLT.USER.PANLIB.OLD,DISP=SHR
//PANDD2   DD  DSN=PANVLT.USER.PANLIB.NEW,DISP=SHR
//SYSIN    DD  *
++OPTION OUTPUT
++TRANSFER aaaaaaaa,99999999
/*
//

++OPTION OUTPUT allows you to copy members directly from the Panvalet library specified in the PANDD1 DD to the Panvalet library specified in the PANDD2 DD.
The starting member name of ++TRANSFER must be a member name that exists in the library. The ending member name does not have to exist.
To copy all members, as in the above example, specify 9999999999 as the maximum member name.