Tried running in batch using IKJEFT01. The command ends with rc=0, but the file SYSTSPRT is empty.
How can the LIBLIST INFO or HIST information be obtained in Batch?
Release : 4.4
Component : Librarian
The Librarian TSO commands cannot be run in batch. Instead use the Batch command -SEL with the LIST and LISTH options:
//LIBRSEL EXEC PGM=AFOLIBR,PARM='NRJS,NJTA'
//SYSPRINT DD SYSOUT=*
//LIST DD SYSOUT=*
//MASTER DD DISP=SHR,DSN=your.master.file
//OSJOB DD DUMMY
//SYSIN DD *
-SEL memname,pswd,LIST,LISTH
-END
/*