JCL Interview Questions
Questions Answers Views Company eMail

There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.

Merrill Lynch,

2 4761

My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?

HCL,

2 8457

How to identify where file is empty or not? How many ways are there to identifying?

CTS,

3 18760

My JCL contains four steps //STP1 A(+1), DISP = NEW //STP2 A(+2), DISP = NEW //STP3 A(+3), DISP = NEW //STP4 A(+1), DISP = OLD STP3 was abended and I want restart my JCL from STP3 onwards & what are the precaution I want to take & what are the changes I need to make. Pls let me know.

CTS,

4 8044

I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.

CTS,

5 9286

i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.

TCS,

1 6270

How to find in aparticular step how many versions a paricular gdg base have?

TCS,

4 17298

If i have defined an temperory dataset in step2, how can i call back or use the same dataset in step5 of the same job

UST,

4 8287

if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 8042

Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?

Thomson,

1 7578

I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.

Syntel,

2 10626

What are the parameter in the job card wihtout which job won't run........

IBM,

10 19063

Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 3837

//ERFDS JOB //STEP1 //STEP2 //STEP3...COND=(4,LT) //STEP4 1.CONDITION IN STEP3 REFERS TO WHICH STEP'S RETURN CODE (STEP1 OR STEP2)? 2.IN ABOVE PROGRAM IF CONDITION SATISFIES IN STEP3 WHICH STEPS WILL EXECUTE?? AND WHY? IF CONDITION IN STEP3 SATISFIES

IBM,

5 10377

if we give two job cards in a single what happens

IBM,

3 7045


Post New JCL Questions

Un-Answered Questions { JCL }

Why block size is multiple of lrecl in jcl?

903


Explain how can the disposition of sysout datasets be set for an entire jobstream?

625


Can I share my data with other jobs? How?

663


How to submit a jcl from cics?

651


what is the difference between JES3 and JES2?

665






What is the significance of addrspc parameter in exec statement?

722


which utility is used to sort a file in jcl?

737


define cond parameter in jcl?

762


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2042


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9199


How can a stopped job be started again?

694


For what purpose steplib and joblib are used ?

678


Is automatic restart possible in jcl? If yes, how?

648


What is the purpose of the dd keylen parameter?

708


how do you code a null statement?

762