Trying to update an existing member in a Librarian master file from a PDS with the -HIST statement in order to create a history record that would become a permanent part of the module.
How can this be done?
Release 4.4
Use the -HST statement for adding/creating the history control statement records.
JCL examples below:
//STEP01 EXEC PGM=AFOLIBR,PARM='NRJS,NJTA' //AUXDD DD DSN=YOUR.PDS.DATASET(MEMBER),DISP=SHR //MASTER DD DISP=SHR,DSN=YOUR.LIBRARIAN.MASTERFILE //OSJOB DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSIN DD * -SEL MEMBER -DESC ONGOING TEST -HST DATA -REP ALL -AUX AUXDD -END
or
//STEP01 EXEC PGM=AFOLIBR,PARM='NRJS,NJTA' //AUXDD DD DSN=YOUR.PDS.DATASET,DISP=SHR //MASTER DD DISP=SHR,DSN=YOUR.LIBRARIAN.MASTERFILE //OSJOB DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSIN DD * -SEL MEMBER -DESC ONGOING TEST -HST DATA -REP ALL -AUX AUXDD(MEMBER) -END