I have two input SORTIN files and We need to create one
SORTOUT file which contains data of both input files. What
is the SortCard for this?. Suppose the length of the both
files are different, then How we do it? Please reply ASAP

Answer Posted / vikas pujar

1) Sortcard to merge two files will be
//Sysin dd *
Sort fields=copy
/*

2) When try two merge two files using sort, first thing to see is they are of same length. If they are not, change the length of one equal to other in one more step which come prior to sort step.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the syntax of job specifying jcl statement.

640


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

658


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

1805


Differentiate between the joblib and the steplib statements?

862


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

750






I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

713


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

979


What parameter directs the output of the job log dataset?

769


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1990


Explain about ISPF/TSO Commands

1315


What do you understand by the terms: joblib and steplib?

626


Is condition checking possible in jcl?

722


Is it possible to code instream data in a PROC?

754


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

587


What is multithreading in jcl?

944