Hi, With regards to "Is there any other way , where i can include all the statements from the JOB (JOB, PROCLIB, INLCUDE and SET etc ) in the new edited job?
IEBEDIT is not going to work on PROC's as well , as they dont contain a JOB statement ! My actual requirement is to do a selective omission of particular steps in a JCL ." I nearly pre-empted this question yesterday but changed my mind in case somebody else responded with a better option. If there is another utility to perform the same functionality as IEBEDIT I am not aware of it. One possible solution is to investigate ISPF File Tailoring which could be driven in batch in much the same way as normal batch TSO but with the addition of the ISPF Library DD statements. This will require some work not only in the development of the routine, but also in the structure of the input stream, especially if File Tailoring is used Another option would be to produce your own program, and this might be a case for using REXX. This route, I think, offers the quickest solution as only the analysis code needs to be defined and the input stream may not need changing. The basic logic would be: - Gather the selection criteria - read the input jobstream (EXECIO), - process each statement making decision about inclusion or exclusion, - submit the results either by writing to a file and using TSO SUBMIT, or by writing to the Internal Reader. The complicated bit may well be the definition of the selection criteria. I hope this helps - Terry Terry Sambrooks Director KMS-IT Limited 228 Abbeydale Road South Dore, Sheffield, S17 3LA, UK Tel: +44 (0)114 262 0933 WEB: www.legac-e.co.uk Company Reg: 3767263 at the above address All outgoing E-mail is scanned, but it remains the recipient's responsibility to ensure their system is protected from spy-ware, trojans, viruses, and worms. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

