There are two input sorting files and there is a need to
create one sort out file which contains data of both input
files. What is the sort card for this. Write a sample JCL
for this using a control card?
Answer Posted / dineshj
There is a way to give two input files in dfsort. coding is
here.,
//iksa01 job .....
//stp1 exec pgm=sort
//sortin dd dsn=iksa01.dfsort.input1,disp=shr
// dd dsn=iksa01.dfsort.input2,disp=shr
//sortout dd dsn=iksa01.dfsort.output1,disp=shr
//sysout dd sysout=*
//sysin dd *
/*
//
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
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?
What is catelog procedure and how many catelog procedure to use in one job?
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?
How can unused space allocation be returned to the system when a dataset is closed?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Explain the purpose of the dd keylen parameter?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
Explain about LMQUERY�give a dialog information about a data set
what operation is performed by job statement?
Explain how can an in-stream dataset be terminated?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
What are the difference between jcl and jes?
Explain the function of job statement in jcl?
What does a disposition of (MOD,DELETE,DELETE) mean ?