IF we are calling a PROC from Jcl...This Proc have 3 steps
in it and we want to execute only the second step using the
JCL, How to do it??

Please give the answer ASAP:)

Answers were Sorted based on User's Feedback



IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / biswajit

Sorry there is little modification on JOB CARD to my
earlier answer.
In Job card RESTART = Proc stepname.stepname ie
STEP2.Stepname of job that invokes the proc This will result
to start at STEP2 of proc.
In Exec statement of the job that invoking the proc u can
code COND.STEP3 = (0,LE),The result of this is the STEP3
of proc will have COND=(0,LE).Whcih is allways true so this
step will be always bypassed.As a result of both only STEP2
of proc will be excuted.

Is This Answer Correct ?    13 Yes 2 No

IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / chandra babu

In job card : RESTART=Step name of the PROC.Step02,
COND=(0,LE, Step name of the PROC .Step03)

Is it correct?

Is This Answer Correct ?    4 Yes 1 No

IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / biswajit jena

In Job card RESTART = Procname.STEP2.This will result the
to start at STEP2 proc.And
In Exec statement of the job that invoking the proc u can
code COND.STEP3 = (0,LE),The result of this is the STEP3
of proc will have COND=(0,LE).Whcih is allways true so this
step will be always bypassed.As a result of both only STEP2
of proc will be excuted.

Is This Answer Correct ?    3 Yes 2 No

IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / muttaiah

Hi,
I have executed the jcl as per answer#4, it worked f9.
I have a question here, if there are three steps we are
giving cond parm as cond.step3=(0,le)
If there are 5 steps in proc, how to specify the cond parm
in exec step which is calling that proc.
Please suggest me how to accomplish this.

Immediately reply would be greatful.

Is This Answer Correct ?    0 Yes 1 No

IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / gani.....

in job card give restart=jobstename.procstepname

Is This Answer Correct ?    0 Yes 1 No

IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / rahul singh

On Job card : Restart=jobstep(step that calls the proc).step2
On Jobstep(step that calls the proc): COND=(0,LE)

Is This Answer Correct ?    0 Yes 2 No

IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / ch.mohan

using cond=even
even use to only perticular step was executed indipendently

Is This Answer Correct ?    0 Yes 2 No

IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the s..

Answer / sowdamini

we can override step1 and 3 by dd dummy statements.

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More JCL Interview Questions

what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?

1 Answers   Accenture,


Hi, My dataset have multiple records, say 100. I want to start copy records only after a record contain a specific value that may be in a specific position. Secondly I want to stop copying rest records if certain record contains a specific value. Can it be done using SORT/ICETOOL utilities?

5 Answers   Patni,


How many JOB statements a JCL can have ? If there are more than one JOB statements in a JCL, are they submitted in succession or in parallel ?

4 Answers   IBM, Tech Mahindra,


what are the types of abends that occur on job failure? And explain the possible causes of these

0 Answers  


What is the motivation behind coding class parameter in job statement?

0 Answers  






What does the TIME parameter signify ? What does TIME=1440 mean ?

6 Answers   Accenture, TCS,


How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation

1 Answers  


i want to store 20 digits . how will u do it in cobol ?

0 Answers  


Matching Logic in Jcl not in cobol.Could any one please answer this question

0 Answers  


How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.

1 Answers   Cap Gemini,


how many max steps can we use in a job? pls answer to my question

9 Answers   TCS,


if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 Answers  


Categories