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 . Thanks for all your HELP ! On Wed, 3 Jun 2009 15:57:54 +0100, Terry Sambrooks <[email protected]> wrote: >Hi, > >With regard to "Iam trying to execute an IEBEDIT JCL on a JOB which is >containing the PROC's and CTLCARDS. I want to skip the particular steps in >this JCL .But when I execute this IEBEDIT jcl on the JOB which contains >information like INCLUDE MEMBER=mem.name ... are not produced in the >output." > >I cannot help solve the problem, but can confirm that when the >TYPE=INCLUDE|EXCLUDE option is used, IEBEDIT fails to process INCLUDE or SET >statements ahead of the first EXEC statement in the job stream being >processed. The statements are processed if the TYPE option is omitted from >the EDIT statement. > >If the INCLUDE after the JCLLIB statement is converted to a comment so that >the statement immediately following the JCLLIB reads: > >//* INCLUDE MEMBER=MEMBER > >It is capture by the EDIT process with TYPE=EXCLUDE, but this then means a >manual alteration to the jobstream to remove the asterisk. > >These method of operation looks like a feature of IEBEDIT. > >Kind regards - 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 ---------------------------------------------------------------------- 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

