Gadi, You can accomplish what you want very easily using the SDSF REXX interface, you even have two options of how :
(1) Use ISFACT and the "SA" action to allocate a DDName to each different spool dataset and then use EXECIO to put the records wherever you want (2) Use ISFBROWSE to process data at the "cursor" position. Option (1) is probably easier conceptually, however because it reads the data into stems it could have storage constraints for large spool datasets. Option (2) uses a logical cursor so will be a better general purpose solution. See Share session 24671 "Learn to use SDSF Rexx" that I gave in Phoenix Rob Scott Rocket Software -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Gadi Ben-Avi Sent: Thursday, October 10, 2019 11:55 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Saving job output Hi, Every now and again, I have to send the output from a job or started task to support. Saving all of the output is simple using SDSF's XDC command, but that saves all of the output to one file. It's much easier to deal with the individual spool files. Does anyone have a utility that can split the output according to the different spool files? Gadi ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ================================ Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ Main Office Toll Free Number: +1 855.577.4323 Contact Customer Support: https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - http://www.rocketsoftware.com/manage-your-email-preferences Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy ================================ This communication and any attachments may contain confidential information of Rocket Software, Inc. All unauthorized use, disclosure or distribution is prohibited. If you are not the intended recipient, please notify Rocket Software immediately and destroy all copies of this communication. Thank you. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN