JCL Interview Questions
Questions Answers Views Company eMail

How to identify in JCL that an input file is empty without reading it?

L&T,

4 10403

I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

RBS,

3 12126

What is the exact difference between PRTY and DPRTY

iGate,

2 15940

How to send data from cobol program to jcl?

CSC,

2 8823

How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

CSC, SPIC,

5053

Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

Saggezza,

8 17085

When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 6119

Hi, all suppose i have 5 steps (S1,S2,S3,S4,S5) what will happen if cond is true or false (which of the other steps get executed)? 1) //s3 exec pgm=abc,cond=(0,le) 2) //s3 exec pgm=abc,cond=(0,le,step2) 3) In the jobcord RESTART=step3,cond=(0,le) 4) can i code COND=TRUE in jobcard, if yes what will happen?

TCS, Tech Mahindra,

3 8145

Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?

2 6071

whats the diff bw the evaluate also and and?

CGI,

1841

what is mainframe?

CGI,

4 7520

diff bw vsam and normal flat file?

CGI,

2 14996

I HAVE A SEQUENTIAL FILE CONTAINING ONE RECORD IN WHICH I HAVE ONE FIELD AS CUSTOMER IDENTITY NUMBER FIELD WHICH IS A SIGNED FIELD. HOW TO SEQUENTIALLY INCREMENT THIS FIELD USING OVERLAY PARAMETER?.

1 4932

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

4424

Is there any command to check wether the ps file is in sorted order?

IBM,

2420


Post New JCL Questions

Un-Answered Questions { JCL }

Differentiate between the joblib and the steplib statements?

850


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

642


a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

608


What do you understand by jcl?

622


Is condition checking possible in jcl?

707






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

1338


How to pass the parameter in parm using linkage section ? (syntax)?

643


what happens in conversion stage in job processing?

721


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

664


Explain about LMQUERY�give a dialog information about a data set

894


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1936


Explain how can a jobs execution priority be modified?

729


What is the use of disp parameter?

643


How to do automated restart when a job abend?

782


how would you create a temporary dataset? And where will you use them?

756