Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

i have 5 steps to execute in that i want to skip 3nd step
and start execute from forth step how can u do this.



Answer Posted / y@$w@nth

I think u want to execute only 1,2,4,5 steps...for this the
solution is

//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//

So in the above case step3 won't execute only 1,2,4,5 steps
will execute.

If ur question is that u want to restart from step4 that
means u want to execute only 4,5 steps then we can go for
restart parameter at job card level..

//userid01 JOB 'sample','test',class=a,restart=step3
//step1 exec pgm=prog1
//step2 exec pgm=prog2
//step3 exec pgm=prog3,cond=(0,LE,step2)
//step4 exec pgm=prog4
//step5 exec pgm=prog5
//

Cheers....
Y@$w@nth

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we use DISP=SHR in output file in JCL

1461


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1516


What do you understand by the term notcat 2 – gs?

1292


What are the parameter we cannot use in procedure?

1191


What is Cataloged Procedures?

1203


How can the disposition of sysout datasets be set for an entire jobstream?

1386


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?

1468


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

1217


How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?

1203


How to pass the parameter in parm using linkage section ? (syntax)?

1182


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2609


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

1430


what sort card you will use to copy the data from one dataset to another dataset?

1300


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1456


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

1339