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 5925

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' ?

1579

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

IBM,

1991

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,

2168

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

IBM,

4 20573

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 12583

What is a JCL Command statement ?

IBM,

1 6140

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 15457

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

IBM,

1 8369

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 25187

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

IBM,

4 21976

Is Default for MSGCLASS = (1,1) ?

IBM,

2 5826

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 15564

Can we have a JOBSTEP without any EXEC ?

IBM,

6 17533

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 9137


Post New JCL Questions

Un-Answered Questions { JCL }

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.

1982


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

732


in ways data can be passed to a COBOL program from JCL?

663


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2097


What is the function of the dd dcb keyword?

821






In sms datasets, what is the function of the dd mgmtclas keyword?

857


How to run cobol program using jcl?

648


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

852


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

603


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1347


Mention the types of job control statements?

683


What is concatenating?

633


How can an in-stream dataset be terminated?

845


How to submit jcl through a cobol program?

676


How jcl work to handle various input output file operations?

656