JCL Interview Questions
Questions Answers Views Company eMail

I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?

Cognizant,

4 10737

How to find out the number of records in a file using JCL

CTS,

5 44161

Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?

CTS,

2 8788

How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.

1 9372

what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file

Virtusa,

3 12367

Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

IBM,

2254

In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd . Where do you generate the date ??in cobol or JCL ??

CSC,

2 11094

How to find the length of variable length copybook using fileaid ??

CSC,

1 12657

Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?

VS, Wipro,

7 22817

Current version of GDG is ID.GDG.FILE.G0001V00. JCL has procedure with 2 steps like below,  What will be the output file name in each step ?  PROC starts      Step 1 has ID.GDG.FILE(+1)      Step2 has  ID.GDG.FILE(+4) PEND Similarly, JCL has 2 steps in 2 separate procedure. What will be the output file names here ?  PROC starts      Step 1 has ID.GDG.FILE(+1) PEND PROC1 starts      Step2 has  ID.GDG.FILE(+4) PEND

FIS,

2 6041

A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

FIS,

1 9153

Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?  

TCS,

1 16091

can i sort packed decimal if i can tell the syntax

Barclays,

1 4868

In all our JOB Statement we have always COND=(4,LT) defined. Nevertheless when a Job failed the last step should then be executed (send a message to an user). Due to we don't like to change all our JOB's (ca. 2000), we are looking for a simply solution.

4 8047

which are the parameters mandatory in job card ?

Accenture,

4 6406


Post New JCL Questions

Un-Answered Questions { JCL }

What is concatenating?

626


whats the diff bw the evaluate also and and?

1841


What is NOTCAT ?

732


What is multithreading in jcl?

926


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1609






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

849


What do you understand by the terms: joblib and steplib?

613


What is the motivation behind coding class parameter in job statement?

672


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

4424


Is condition checking possible in jcl?

707


if the submitter of a job wants to inform another user about the job completion, how can it be done?

741


Explain dfsort utility?

657


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


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

771


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

802