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

Is acct parameter mandatory?

843


write a jcl to execute a job by 7:00 am on jan 20,1986?

780


Explain the purpose of the dd keylen parameter?

769


what is DSN parameter and DISP parameter is used for?

764


Is it possible to left uncode disp? If yes, how?

787






how JCL works?

881


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

966


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

931


Mention the types of job control statements?

792


Does jcl support automatic restart?

854


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

822


what are the statements that are not valid to be included in an include statement?

925


Explain how can return codes be tested before execution of a job step?

941


Explain the function of //cntl statement?

747


which parameter is use to declare the name of dataset in dd statement?

848