In my job I have 6 steps. Step01,02,03...step06.
after executing step02 i want to skip step03 and want to
execute step04. and once step04 is done then I want to go
back and execute step03. once step03 is completed I want
execute step05, 06 and so on... can any one tell me how do
i do that???

Answer Posted / shailendra

chang the step according to requirment

//step1
//step2
//step4
//step3
//step5
....
..
.....

Is This Answer Correct ?    4 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

738


whats the diff bw the evaluate also and and?

1841


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

708


what happens in conversion stage in job processing?

721


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

734






have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

914


Explain the jcl exec statement?

638


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1917


What is the significance of addrspc parameter in exec statement?

724


Explain the purpose of dd * statement in jcl?

628


what is the JCL statement consists of?

689


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

7071


Is automatic restart possible in jcl? If yes, how?

648


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5053


how you can direct the data to spool using SYSOUT option?

914