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

Explain dfsort utility?

1063


Why block size is multiple of lrecl in jcl?

1142


Is acct parameter mandatory?

952


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' ?

1785


What is the function of the dd dcb keyword?

1059


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

973


How do you access an uncatalogued dataset in a jcl?

948


What is the format of comment statement?

921


Is automatic restart possible in jcl? If yes, how?

864


what is the JCL statement consists of?

913


Can we call instream to catalog and catalog to instream?

906


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2203


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

2023


write a jcl to execute a job by 7:00 am on jan 20,1986?

894


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?

832