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 i code cond parameter in procedures ?

i have a jclk calling a proc which has 10 steps i want to execute
from step 5 to step 10 where can i code restrat parameter or
cond parameter for ths

Answers were Sorted based on User's Feedback



how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i w..

Answer / greeshma

In job parameters give Restart= proc invoked step in
jcl.step in the proc where we want to restart.

Is This Answer Correct ?    2 Yes 0 No

how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i w..

Answer / shaan

If you want to restart from a particular step from a
cataloged procedure, then type RESTART.PROCSTEPNAME.JOBSTEPNAME.

Is This Answer Correct ?    1 Yes 2 No

how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i w..

Answer / shubham_a

You can code the RESTATRT in job card itself like :

//JOBNAME JOB 'ACCINFO',MSGCLASS RESTART=PROCNAME.STEP05

Is This Answer Correct ?    0 Yes 1 No

how can i code cond parameter in procedures ? i have a jclk calling a proc which has 10 steps i w..

Answer / prachi

COND parameter can be coded in Job card as well as on STEP..
In this case if you want to execute from STEP5 to STEP10
then you need to code Restart parameter on Job card as
Restart=STEP5

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

how to compare two datasets without using superce because output is limited to 133 bytes

0 Answers  


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,


i want apply mainframe devolper with 3+ but i dont have that much of knowledge what isthe solution to get that much of knoweldge?

1 Answers  


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

0 Answers   IBM,


Can a job have only steplib and no joblib ?

6 Answers  


In one of intervie, my interviwer asked, I have a file which contains 4 records I would like to split the 4 different outputs for each record how to do?

14 Answers   Cap Gemini, Cognizant, JPMorgan Chase, TCS, Xansa,


Differentiate between the joblib and the steplib statements?

0 Answers  


In SPACE,what is directory,RLSE

6 Answers   TCS,


What is the significance of addrspc parameter in the exec statement?

0 Answers  


I have four steps in jcl they are STEP1,STEP2,STEP3 and STEP4. Can it possible to run the reverse order like step4 first then step3,step2,step1?

4 Answers   Broadridge, HCL,


i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0

3 Answers  


If your job fails at particular step then what would be the return code for next steps

3 Answers   ADP,


Categories