What is the error in the following JCL statements :

I) //step#three exec pgm=hkbc762

ii) //step#3 exec pgm = hkbc762

iii) //step#3 exec pgr = hkbc672

Answers were Sorted based on User's Feedback



What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //ste..

Answer / krishna

3 IS WRONG
BECUASE IN THE THIRD STMT PGR USED BUT IT IS PGM MEANS IT SPECIFIES THE PROGRAM NAME TO BE EXECUTED.

Is This Answer Correct ?    4 Yes 0 No

What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //ste..

Answer / muttiah

All the three statements are wrong.

1. Stepname is more than 8 char's
2. There is a space between 'pgm = hkbc762'
3. The name of PGM is given as PGR.

The correct statement would be

//STEP#3 EXEC PGM=HKBC762. --- TRY THIS.

Is This Answer Correct ?    3 Yes 0 No

What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //ste..

Answer / piyush mani

1 is wrong bcoz we cant code stepname more than 8 charecter
2 is ok..
3 is wrong bcoz pgr is not a valid it shd b pgm..
give ur feedback.....thanks

Is This Answer Correct ?    3 Yes 1 No

What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //ste..

Answer / mohan.chepuri

1)is wrong
job name should be maintain 8 char

Is This Answer Correct ?    5 Yes 4 No

What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //ste..

Answer / romang

I) label is too long - 8 characters maximum.

PS This is Stepname, not jobname.

Is This Answer Correct ?    1 Yes 0 No

What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //ste..

Answer / mohan.chepuri

1)is wrong
job name should be maintain 8 char

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More JCL Interview Questions

what is the difference between JES3 and JES2?

0 Answers  


what is the meaning of keyword in jcl?what is is opposite?

4 Answers  


How to get cursor position from system in CICS environment ?

8 Answers  


How jcl work to handle various input output file operations?

0 Answers  


i have a ps with two columns eno and ename , i need to copy eno column values in one ps and ename column values in one Ps ? is it possible through iebgener . how ? thx in advance

1 Answers   IBM, TCS,






How can a job send a status message to a tso user at the completion of a job?

1 Answers  


What are the 4 fields in dd statement?

0 Answers  


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


1)what is compilation jcl for cobol program but it is calling another program 2)what is compilation jcl for cobol program but it is calling another program(in this, main program is pure cobol but sub program is cobol+db2 program.can anyone please answer me for above questions. it's very urgent

4 Answers   Mind Tree,


Can we write same stepname for one or more steps in on job ?

2 Answers  


Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


Explain about LMFREE�free data set from its association with data ID

0 Answers  


Categories