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 10393

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 12111

What is the exact difference between PRTY and DPRTY

iGate,

2 15918

How to send data from cobol program to jcl?

CSC,

2 8807

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

CSC, SPIC,

5049

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

Saggezza,

8 17069

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

2 6101

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 8138

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 6058

whats the diff bw the evaluate also and and?

CGI,

1838

what is mainframe?

CGI,

4 7501

diff bw vsam and normal flat file?

CGI,

2 14978

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 4922

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

4420

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

IBM,

2414


Post New JCL Questions

Un-Answered Questions { JCL }

A dd statement consists of 4 fields. Name them?

908


What does a disposition of (new,catlg,keep) for a dsn mean?

600


Does jcl support automatic restart?

734


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1017


Explain how can the submitting users racf authority be overridden in a job stream?

661






what sort card you will use to copy the data from one dataset to another dataset?

711


Explain the jcl exec statement?

632


Is automatic restart possible in jcl?

722


What is the function of the dd avgrec keyword in sms datasets?

818


what is the difference between JES3 and JES2?

665


define cond parameter in jcl?

757


which utility is used a dummy utility?

769


how can you check if a file is empty using jcl?

798


How does jcl specify the job to the operating system?

736


What is job control language?

599