Sergio's original question was whether he could do what you described in batch.
I'm sure the short answer is yes, though I don't understand the selection criterion, since STC03526 does not appear to be the most recent output data set. Sergio, have you looked at the SDSF Operation and Customization manual? It contains a chapter called "Using SDSF in batch." It's short, but it should get you started. Greg Shirey Ben E. Keith Company -----Original Message----- From: IBM Mainframe Discussion List On Behalf Of Ron Hawkins Sent: Wednesday, February 15, 2012 7:37 AM Sergio, Select the sysout (S) for STC03526 and open it. On the command line type PRT D and enter. Complete the dataset details and enter. When you return to the SYSOUT screen type PRT and enter. Type PRT CLOSE and enter You now have all the sysout in a dataset. This is all documented in the SDSF help menus. Ron > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of > Sérgio Lima Costa > Sent: Wednesday, February 15, 2012 4:58 AM > To: IBM-MAIN@bama.ua.edu > Subject: [IBM-MAIN] RES: Question about XDC BATCH and automation > > Hello, > > Thanks very much for your help. > Sorry about my bad explanation, below, our CICS SYSOUT, that exist now in our > system : > > SDSF STATUS DISPLAY ALL CLASSES LINE 1-10 (10) > COMMAND INPUT ===> SCROLL ===> CSR > PREFIX=CICSP1 DEST=(ALL) OWNER=* SORT=Pos/D SYSNAME= > NP JOBNAME JobID Owner Prty Queue C Pos SAff ASys Status > CICSP1 STC04235 USRCICP 1 PRINT 3293 > CICSP1 STC03526 USRCICP 1 PRINT 3278 > CICSP1 STC03441 USRCICP 1 PRINT 2742 > CICSP1 STC02900 USRCICP 1 PRINT 2732 > CICSP1 STC02683 USRCICP 1 PRINT 2419 > CICSP1 STC02499 USRCICP 1 PRINT 2362 > CICSP1 STC02431 USRCICP 1 PRINT 2207 > CICSP1 STC01151 USRCICP 1 PRINT 2199 > CICSP1 STC04303 USRCICP 15 EXECUTION SYSA SYSA > CICSP1 STC06488 USRCICP 1 PRINT HOLD > > > The file, that I need look, is the Jobid STC03526, Position 3278. > > Regards. > > Sergio > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN