When attempting to update a Superset.subset member within Panvalet you get the following error message: A Superset may be retrieved but cannot be saved via the save command.
Release : 14.6
Component : PANVALET
Special procedures are required in order to make changes to Supersets.subsets within Panvalet.
Here are the steps to update a superset.subset:
1) Using Panvalet ++COPY command copy superset.subset to be edited to a temp Panlib member.
2) In Panvalet ISPF edit update the temp Panlib member.
3) Using Panvalet ++COPY command copy temp Panlib member into superset.subset which will replace the subset.
To recover the lost Panlib members you will need to restore (++RESTORE command) the Panlib from the Panvalet backup (created by ++DUMP command). This will recover all of the missing supersets and subsets. Then follow the update steps outlined above.
The following JCL is a sample of how to create a superset backup. This sample copies subset MYSS into new subset MYSSBKUP.
//BACKUP EXEC PGM=PAN#1
//STEPLIB DD DISP=SHR,DSN=PANVALET.V14R6.CBA3LINK
//SYSPRINT DD SYSOUT=*
//PANDD1 DD DISP=SHR,DSN=MY.PANLIB
//SYSIN DD *
++COPY MYSS,MYSSBKUP
/*
The following sample JCL copies a superset.subset to a Panlib member. In the example the sample JCL copies MYSS.SS03 to a Panlib member named TEMPMBR:
//COPY1 EXEC PGM=PAN#1
//STEPLIB DD DISP=SHR,DSN=PANVALET.V14R6.CBA3LINK
//SYSPRINT DD SYSOUT=*
//PANDD1 DD DISP=SHR,DSN=MY.PANLIB
//SYSIN DD *
++COPY MYSS.SS03,TEMPMBR
/*
The following sample JCL copies a Panlib member into a superset.subset replacing the subset content. In the example the sample JCL copies TEMPMBR into the MYSS.SS03 subset replacing the SS03 content:
/COPY2 EXEC PGM=PAN#1
//STEPLIB DD DISP=SHR,DSN=PANVALET.V14R6.CBA3LINK
//SYSPRINT DD SYSOUT=*
//PANDD1 DD DISP=SHR,DSN=MY.PANLIB
//SYSIN DD *
++COPY TEMPMBR.MYSS.SS03
/*