JCL Interview Questions
Questions Answers Views Company eMail

Hi Please try to be to-the-point. 1) How to INCLUDE a JCL segment in a JOB ? (A Small example) 2) What is SPOOL and what is SPOOL FULL ? and how to direct the output of a Jobstep to SPOOL ?

IBM,

3 6210

What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1663

What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

IBM,

2080

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

IBM,

2283

What is TimeStamp, What is TimeStamp error and What is the Abend Code for TimeStamp Error ?

IBM,

4 20895

Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?

IBM,

1 12874

What is a JCL Command statement ?

IBM,

1 6338

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 ?

IBM, Tech Mahindra,

4 15819

If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?

IBM,

1 8549

How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?

IBM,

5 25693

How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

IBM,

4 22384

Is Default for MSGCLASS = (1,1) ?

IBM,

2 6026

1) Is CLASS used for assigning Priority (as we say a job having class '6' will run before the job having class '5'? then what is the difference between CLASS and PRTY ? 2) In a same JCL, 2 JOB statements with different Classes and NO PRTY are submitted ? which will run first ? & with different classes and different PRTY also, which will run first now ?

IBM,

3 15917

Can we have a JOBSTEP without any EXEC ?

IBM,

6 18173

Is stepname is a MUST and should be unique also for each JOBSTEP ? or system can supply the stepname for a step which is not given a name by the programmer ?

IBM,

6 9606


Post New JCL Questions

Un-Answered Questions { JCL }

What is concatenating?

715


Mention the types of job control statements?

790


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

895


What is catelog procedure and how many catelog procedure to use in one job?

7711


How jcl is used for testing batch programs?

822






What happens if both JOBLIB & STEPLIB is specified ?

701


What is the function of the dd avgrec keyword in sms datasets?

933


Are there any set of rules for the names of the steps used in a job? What are they?

682


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

1813


What are the difference between jcl and jes?

1146


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2081


How to submit jcl through a cobol program?

777


Name a few IBM utility programs, and explain its function.

4537


What statement can be used to send data to another mvs jes3 node?

1066


How to submit a jcl from cics?

749