Results 1 to 3 of 3

Thread: Execute JCL steps

  1. #1
    Geek_Guest
    Guest

    Execute JCL steps

    A JCL has 5 steps. I have to execute the step 2, 4 & 5. I should not execute step 1 & 3.

    At same time, I should not comment the steps 1 & 3. How could I execute steps 2, 4, & 5 without executing Steps 1 & 3?

    Question asked by visitor Ranjani


  2. #2
    Junior Member
    Join Date
    Oct 2007
    Answers
    1

    Re: Execute JCL steps

    Use RESTART=Step2 in Jobcard and give condition code "COND=0 LE step2" in step3, which u cant meet for ever.

    Let me know?.


  3. #3
    Junior Member
    Join Date
    Jul 2007
    Answers
    2

    Re: Execute JCL steps

    Quote Originally Posted by Geek_Guest View Post
    A JCL has 5 steps. I have to execute the step 2, 4 & 5. I should not execute step 1 & 3.

    At same time, I should not comment the steps 1 & 3. How could I execute steps 2, 4, & 5 without executing Steps 1 & 3?

    Question asked by visitor Ranjani
    You can using IEBEDIT utility for your requirement. The syntax as
    follows.

    Syntax:
    //JOBCARD
    //PS010 EXEC PGM=IEBEDIT
    //SYSPRINT DD SYSOUT=*
    //SYSUT1 DD DSN=path of your JCL,DISP=SHR
    //SYSUT2 DD SYSOUT=(A,INTRDR)
    //SYSPRINT DD SYSOUT=*
    //SYSIN DD *
    EDIT TYPE=INCLUDE,STEPNAME=(step2, step4,step5)
    or
    EDIT type=EXCLUDE,STEPNAME=(step1,step3)

    Last edited by tungal; 03-02-2008 at 08:57 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact