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 10 steps, I want to run STEP1 TO STEP4 then I should
not run STEP5 and STEP6. Aganin I want to execute from
STEP7 to STEP10. ONLY using CONDITION CODES how can we
execute this process?
1. Where we can set cond codes for STEP5 and STEP6?
2. How can we execute remaining steps from STEP7 to STEP10?

Answers were Sorted based on User's Feedback



I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want..

Answer / harsih

there 2 ways for this

FIRST METHOD is use ibm utility called "IEBEDIT" and in
sysin in the include statement , give he steps u want to
execute..........



SECOND METHOD = and the steps whicc u dowant to excute code
COND{O,LE} ON THOSE STEPS

Is This Answer Correct ?    11 Yes 0 No

I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want..

Answer / lokesh

1) Use cond code as COND=(0,LT,STEP04) on step 05 and COND=
(0,LT,STEP04) on step 06. As return code is always non-
negative, step05 and step06 will never get executed.

2) To execute remaining steps, use cond code as (4,LT)

Is This Answer Correct ?    5 Yes 7 No

Post New Answer

More JCL Interview Questions

What do you know about jcl?

0 Answers  


How jcl is used for testing batch programs?

0 Answers  


What are s0c1, s0c4, s0c5, s0c7 and socb?

0 Answers  


i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


How can a stopped job be started again?

0 Answers  


can any one plzzzzzz tell the jcl code for creating ps using idcams

2 Answers   Fiserv,


What is the significance of addrspc parameter in exec statement?

0 Answers  


Please give me the coding for converting VB to FB and FB to VB

3 Answers   HP,


What will happen if two JOB statements are mentioned in an JCL continuously.

2 Answers   IBM,


My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.

4 Answers   CTS,


What is the use of the utility DFSRRC00 in the JCL?

2 Answers   Convergys,


Categories