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
Explain the function of a dd statement?
what is use of disp parameter in dd statement?
What parameters can be used to limit the number of records written to a sysout dataset?
What are s0c1, s0c4, s0c5, s0c7 and socb?
what happens in execution stage in job processing?
What is the difference between run mode and addressing mode?
What is concatenating?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
How do you create a temporary dataset?
what are the various stages of job processing?
Is it possible to code instream data in a PROC?
What is the difference between the positional and keyword parameters? Give examples.
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
What are the 2 types of parameters in dd statement?