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...


How can we execute only one step in a job

Answers were Sorted based on User's Feedback



How can we execute only one step in a job..

Answer / laxmi

but how MR.Prasanth ????

Is This Answer Correct ?    2 Yes 1 No

How can we execute only one step in a job..

Answer / kamal

hi ankur,

i am really oppose u r answer cond=only previous step
abnormally execution mens this step executed.otherwsie not
possible.
using iebedit utility is oneway.
another one is restart=stepname end of the step give null
stmts.

Is This Answer Correct ?    1 Yes 0 No

How can we execute only one step in a job..

Answer / radhakrishnan

1. restart the step in the jobcard
2. give a null // at the end of the step.

Thanks,
raddie

Is This Answer Correct ?    1 Yes 0 No

How can we execute only one step in a job..

Answer / vel

restart=step name,cond(0,le)

Is This Answer Correct ?    1 Yes 0 No

How can we execute only one step in a job..

Answer / pavan kumar

give that steps name in the restart parameter on the job
card and after that step put //

Is This Answer Correct ?    1 Yes 0 No

How can we execute only one step in a job..

Answer / deb

as per Sravanthi's answer.. A null (/*) statement at the
end of this step can be given for running this step alone
but we have to give restart in job.


suresh,the second method that u have suggested its not
correct, coz if u have more than one step in the same job
then u have to code the same COND parameter for each step.
this will stop the execution of 2 step...

Is This Answer Correct ?    1 Yes 1 No

How can we execute only one step in a job..

Answer / valmiki1980

This is a sample to restart only step02 and skip rest all,
please correct me if i am wrong.
--------------------------------------------------
//JOB CARD RESTART=STEP02

//STEP01
//STEP02
//chkstp02 IF STEP02.RC > 12 THEN
//STEP03
//STEP04
//STEP05
/*
// ENDIF
//

Is This Answer Correct ?    0 Yes 0 No

How can we execute only one step in a job..

Answer / sushanta

Use RESTART parameter and then use null for that step so
that no step gets executed after that.

Is This Answer Correct ?    0 Yes 0 No

How can we execute only one step in a job..

Answer / sachin

Suresh Sir: I agree with your answer but if Condition is True means that particular step(2) will be bypassed however job execution will go to the next step(3). I am just fresher, so please correct me if i am wrong.

Is This Answer Correct ?    0 Yes 0 No

How can we execute only one step in a job..

Answer / suresh

Hi,

Better we can give the true condition i.e COND=(0,LE) in
all the steps that we don't want to execute.

Please suggest if am wrong

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JCL Interview Questions

what is the general use of PARM? Give an explanation about the system defined parameters that could be passed through this PARM like XREF,LIST,LET,APOST,RENT etc..

3 Answers   Cognizant,


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

0 Answers   IBM,


in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code?

5 Answers   ADP,


One dataset is creating in the step1 with LRECL of 133 and the same dataset is used in the next step in DISP=SHR mode, but while scanning the JCL the following error is thrwon. Please verify the below JCL $/SEPP030.PROVIDER DD DSN=Z1225BT.F5750PG9.F5910PRV.QC#A6868 //ERRORRPT DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, --ERRORRPT DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=&DISNCD,UNIT=&DELQ, -- DISP= (NEW,CATLG,DELETE),UNIT=DELQ, // SPACE=(TRK, (30,15),RLSE), // DCB=&DCB2 -- DCB= (PPG.METMODEL,BLKSIZE=0,LRECL=133,RECFM=FB) $/SEPP030.ERRORRPT DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT //SEPP040 EXEC PGM=FILEAID,COND= (0002,EQ,SEPP030) //SYSPRINT DD SYSOUT=* //SYSLIST DD SYSOUT=* //DD01 DD DSN=SYSCMN.PROD.CCLIB (F5910EP1),DISP=SHR $/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB (F5910EP1) E1 - DSS20791E - DATA SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN LRECL OF 133 COULD NOT BE OPENED BECAUSE THE CODED LRECL WAS 80. // DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, -- DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=SHR $/ DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT please find the error code in the above mentioned lines and please suggest me about the error and the solution for that.

3 Answers   Cognizant,


what is DSN parameter and DISP parameter is used for?

0 Answers  


if we compile the cobol+ db2 program now ofter 5 years we need to compile again?

1 Answers   TCS,


Can we able insert data into a PS file Using IEBUPDTE utility??? If Yes can anyone describe it please..

1 Answers  


How do you restart a step in JCL?

12 Answers   HSBC,


What is a COND parameter in JCL?

10 Answers   TCS,


What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


What is STEPLIB, JOBLIB? What is it used for?

2 Answers  


Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?

2 Answers  


Categories