/*****************************REXX************************************/
/*TRACE ?R*/
ADDRESS TSO
"ALLOC F(ISFIN) TRACKS SPACE(1) REU" /* USED BY SDSF */
"ALLOC F(TEMPPRT) DA('MVS004.MVS004.REXX.OUT(SYSLOG)')
OLD SPACE (50 50) CYL DIR(100)"
JOBID = "STC*"
QUEUE "PRE SYSLOG" /* SDSF COMMANDS IN BATCH*/
QUEUE "ST"
QUEUE "FILTER JOBID" JOBID
QUEUE "++S"
QUEUE "PRINT FILE TEMPPRT" /* PRINT TO TEMP DATASET */
QUEUE "PRINT 1 999999"
QUEUE "PRINT CLOSE"
QUEUE "END"
QUEUE "EXIT"
"EXECIO" QUEUED()" DISKW ISFIN (FINIS" /* INPUT TO SDSF BATCH */
ADDRESS ISPEXEC "SELECT PGM(ISFAFD) PARM('++25,80')"/* INVOKE SDSF */
I get error IKJ56246I DATA SET MVS004.MVS004.REXX.OUT NOT ALLOCATED, FILE IN USE
Please let me know what is wrong.