JCL Interview Questions
Questions Answers Views Company eMail

How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?

UHG,

2619

If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/

IBM,

10 14608

how to see the latest generation in gdg?

Deloitte,

3 7616

Hi, If a catolog proc has another proc in it, both have ddnames dd1 and dd2. what proc will override if gave override parameter. Here both have same step names.

UHG,

2 5734

In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?

4 12109

Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1.

TCS,

4 8747

what is alternate index?

1 3647

read all error codes like SB07?

1 2851

IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1628

How many types we can give input to JCL

UHG,

5 12092

There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?

ADP,

3 6969

I have 5 steps in my job. say s1, s2, s3, s4, s5 //s1 exec ............. //s2 exec ............ //s3 exec .......... //s4 exec ........ //s5 exec ............... my question is i want to exeute only s2 and s4 steps... please advice me how to do this:

ITC Infotech, TCS,

4 8843

I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

IBM, TCS,

4 13434

I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?

4 16163

How do You skip a Step In JCL?

HTC,

9 38131


Post New JCL Questions

Un-Answered Questions { JCL }

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

827


Suppose I have five jobs to do. But I want to hold one?

661


What is multithreading in jcl?

942


What parameter of the job statement is used to limit the cpu time consumed by the job?

841


How to override loadlib?

1428






what is use of dcb parameter in dd statement?

775


what are the statements that are not valid to be included in an include statement?

777


State the uses of syspring, sysin, sort fields, sum fields and dummy.

655


How would you understand error(execution phase)?

631


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

924


How to do automated restart when a job abend?

791


Explain the function of the dd dcb keyword?

706


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1972


Explain the function of dd name parameter with a 2 part structure; audit.report?

899


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

1999