A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ?
//InputF DD DSN=ID.File1
DSN=ID.File2
DSN=ID.File3
Answer Posted / vipul chougule
Concartinate input data sets
SYSIN DD DSN = file1
DSN = file2
DSN = file3
| Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
Is their any limit for data sets?
What are the utility programs in jcl?
What is the format of comment statement?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain in DD statement what is the use of DCB parameter?
which utility is used a dummy utility?
How can a stopped job be started again?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
Is acct parameter mandatory?
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
Are there any set of rules for the names of the steps used in a job?
How can unused space allocation be returned to the system when a dataset is closed?
Explain the function of //cntl statement?
Explain the function of the dd dcb keyword?