Re: IOF in batch to capture Started task output while STC is still running: Updated

2014-08-04 Thread Ed Long
The following sequence does what I need. I could not have conjured it up 
without this group's assistance. Thank you.

IOF DSN1MSTR RUNNING CLIST
1 BR  
SD DSNAME('IBMUSER.DSN1IOF1.TEMP')
SNAP 9 PAGES  
END
TSO REPRO INFILE(IOFUT1) OFILE(IOFUT2)

Some notes:
1: DSN1MSTR is the started task I am trying to capture.
2: CLIST tells the batch IOF facility that there are more commands following.
3: 1 BR essentially selects the started task DSN1MSTR and tricks the batch job 
into browse of the syslog.
4: Snap 9 pages dumps up to 99,999 pages worth of stuff
5: END appears to end the mode established by CLIST although I am not sure 
because.
6: TSO REPRO obviously invokes REPRO under TSO. It appears to have to be coded 
this way.

The surrounding jcl handles the GDG stuff allowing me to use the same cards for 
virtually any started task.
Some of  the task and dataset names have been obfuscated for security purposes. 
We really don't have datasets aliased to IBMUSER.

Thank you all again for the great assist.

Edward Long
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IOF in batch to capture Started task output while STC is still running: Updated

2014-07-24 Thread John P Kalinich
Ed,

ESF is the name of  our CA-Spool System task.  You need to substitute the
name of your system task to capture the sysouts.  The 1-10 SNAP command
below would snap out the first 10 sysout datasets for your stcname.

//TSO  EXEC  PGM=IKJEFT01
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN  DD  *
IOF stcname RUNNING
SD DSNAME('AD.stcname.LOG') RECFM(FBA) LRECL(133) BLKSIZE(6384)
1-10 SNAP

Regards,
John K

Ed Long of the IBM Mainframe Discussion List 
wrote on 07/24/2014 08:30:58 AM:

> Thank you all for the help.
> I tried the command sequence John suggested and got the following result.
> I tried the IOF ESF RUNNING and got the following error message
> OUTPUT RECORDS FOLLOW
> Nothing matching specified criteria was found.
> The SD and snap commands were treated as TSO commands not IOF commands.
> I will do some more research on the ESF and RUNNING options.
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: IOF in batch to capture Started task output while STC is still running: Updated

2014-07-24 Thread Ed Long
Thank you all for the help.
I tried the command sequence John suggested and got the following result.
I tried the IOF ESF RUNNING and got the following error message
OUTPUT RECORDS FOLLOW
Nothing matching specified criteria was found.
The SD and snap commands were treated as TSO commands not IOF commands.
I will do some more research on the ESF and RUNNING options.

Edward Long


 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN