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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the purpose of coding notify parameter in job statement?

681


Can I share my data with other jobs? How?

663


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9209


What is the function of job statement in jcl?

634


Mention the types of job control statements?

680






What is the function of the steplib dd statement?

735


what is use of dcb parameter in dd statement?

769


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

538


What is the maximum length of a single line of jcl?

825


What parameters can be used to limit the number of records written to a sysout dataset?

746


Can we use DISP=SHR in output file in JCL

951


What do you know about jcl?

645


how JCL works?

794


What is condition checking in jcl? Is this possible?

619


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2162