I think that the problem with writing to *any* data set on whatever medium is that it cannot be read while it's open for output. It seems that the log file must be written to sysout (for concurrent examination) and then captured to a data set after it's closed.
. . . J.O.Skip Robinson Southern California Edison Company Electric Dragon Team Paddler SHARE MVS Program Co-Manager 323-715-0595 Mobile 626-302-7535 Office [email protected] -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Lizette Koehler Sent: Tuesday, August 16, 2016 9:16 AM To: [email protected] Subject: (External):Re: Capturing STC SYSOUT when the STC is shut down If you are JES2 you can always setup a TRANSMIT/RECEIVE OFFLOADER function. JES2 can continually write to tape or disk any queue. Look up JES2 Offloader function. Fairly easy to set up Other option is John McKown's JES2DISK REXX that uses SDSF functions. https://gist.github.com/JohnArchieMckown/b27747d0c4750a258997 You can run this in batch. Copy to Disk or Unix file. You can get it here: > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Jon Bathmaker > Sent: Tuesday, August 16, 2016 7:38 AM > To: [email protected] > Subject: Capturing STC SYSOUT when the STC is shut down > > Hi, > We are running NVAS and the SYSPRINT file gets directed to SYSOUT=* > which is fine as we can browse it if we need to. > > For some reason (Audit request?) I am being asked to vacuum up the > SYSOUT file and put it into a GDG when the task is recycled, while still > leaving it as > SYSOUT when the STC is active. . Based on a message I received, a disp of > PASS and SYSOUT are incompatible. I am now considering using SDSF in batch > so solve this problem (thanks to Lorne Heffer). > > Anyone have any ideas? Using a commercial Program Product is a non-starter > as, like everyone else the client is only interested in lower cost. Thanks. > > Regards, > Jon Bathmaker ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
