Yes, Rexx or any other Programming language was an option in my mind initially.
It would require lot of checks to ensure that a line is legal within a JCL. Say for Ex, Determining the Start and end of a JOBSTEP is a big challenge especially, if there any instream data in the JOB. The other headache would is to transfer the legal statements following the JOB statements and also interpreting the JOBSTEPS that execute the PROCS and spill in the following lines are difficult to handle ! So IEBEDIT seemed to be the feasible solution, taking all the above overhead from me.... Is there detailed documentation, which indicates the PARAMETERS not supported by IEBEDIT utility ? IF i have that information, it would serve as a good input to proceed further with this uitlity or not , depending the formats my JOBS are in !! Thanks for all your kind help ! ---------------------------------------------------------------------- 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

