JCL Interview Questions
Questions Answers Views Company eMail

AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I GET THE PROGRAM FOR THIS

3 5500

how to override PROC? please give answer in details. Please mention how to write it in JCL. Thanks in advance.

Syntel, UHG,

6 17271

How do you override a parameter in Positional parameters?

Thomson Reuters,

4 8401

hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 4435

how many members can be created inside a single pds?

8 39745

In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?

3 6389

We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?

CSC, IBM,

9 20774

How to execute step2,step1, step3 if step1,2,3 are in order

CSC,

8 11643

i have a string of 80 chars i want to replace 4th char with "a"?

CSC,

3 8307

Can we change the LIMIT of GDG?

HCL,

6 16999

Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 3981

How to execute step2,step1,step3 when step1,2&3 are in order

TCS,

6 9487

I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?

1 3935

How do you find which GDG is using which dataset?

Patni,

3 7583

What is Uncatalog dataset? How can we access/use them?

1 23756


Post New JCL Questions

Un-Answered Questions { JCL }

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


What are some jcl statements that are not allowed in procedures?

717


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

699


Mention the types of job control statements?

678


Why block size is multiple of lrecl in jcl?

903






What is notcat 2 - gs?

921


what is “Cond= even” and “Cond=only”?

733


What is jcl in mainframe?

675


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

638


what is DD statement is used in JCL?

671


what is the compile process of cobol program expalin with code

1993


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 ?

9200


When output dataset space is required, what quantity categories are used?

813


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

741


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1976