i have 10 steps in jcl program but i have to exicute only
2,4,6,8th and 10th ?how it's possible?

Answer Posted / harshil gandhi (trainee at cog

i have 10 steps in jcl program but i have to exicute only 
2,4,6,8th and 10th ?how it's possible?
yes off course its possible..

       step1;
xx     step2;
       step3;
xx     step4;
       step5;
xx     step6;
       step7;
xx     step8;

explanation= use xx on the left side of the step or line in the command... and write (sub nx;) in the command...then it will execute only the excluded lines...thank you for reading... 

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of //cntl statement?

640


What is the motivation behind coding class parameter in job statement?

670


Which statement is used to identify the private libraries in job?

667


What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?

1799


In job processing, what happens in execution stage?

691






How to override loadlib?

1406


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7581


What is the difference between run mode and addressing mode?

621


Name the parameters which can be used to limit the number of records written to a sysout dataset?

643


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

765


what is “Cond= even” and “Cond=only”?

728


what is the compile process of cobol program expalin with code

1989


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

619


Explain the purpose of dd * statement in jcl?

625


is there any way to execute more than one proc in the same exec statement at the same time..?

2097