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 how can the disposition of sysout datasets be set for an entire jobstream?

636


What is the function of //jcllib statement?

810


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?

834


What are the rules employed while naming the steps in a job?

662


How do you overcome this limitation ?

698






What is condition checking in jcl? Is this possible?

628


Explain the function of a dd statement?

659


What is Cataloged Procedures?

715


Explain the hierarchy levels in jcl?

1120


Can I send output of job to my remote device careerride123?

668


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

757


In sms datasets, what is the function of the dd avgrec keyword?

655


Can an individual step be restricted from using all the jobs allowed cpu time?

1010


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

776


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

699