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


Please Help Members By Posting Answers For Below Questions

How can an in-stream dataset be terminated?

1101


What is the function of a dd statement?

965


what are the various stages of job processing?

1051


What are the parameter we cannot use in procedure?

864


what is the use of IEBGENER utility?

937


Explain about LMFREE�free data set from its association with data ID

1343


What is the difference between the positional and keyword parameters? Give examples.

1007


In job processing, what happens in conversion stage?

985


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1108


what are the statements that are not valid to be included in an include statement?

1131


what is the difference between JES3 and JES2?

929


What are the utility programs in jcl?

921


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1001


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

904


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1814