Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

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 dfsort utility?

229


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

221


How do you overcome this limitation ?

242


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

326


what JCL Procedures?

222






Is it possible to left uncode disp?

234


what is the difference between JES3 and JES2?

221


Explain the jcl exec statement?

216


what is the purpose of coding class parameter in job statement?

234


Explain the function of the dd dcb keyword?

222


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

1524


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

274


what is use of dsn parameter in dd statement?

243


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1199


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

234