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
Continuation to last answer. If the input files are of VB, even if length vary, files will be merged. The file with Max
RECFM and BLKSIZE will be used for output. But for FB files RECFM should be same.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
what is use of dsn parameter in dd statement?
What does a disposition of (new,catlg,keep) for a dsn mean?
What are some jcl statements that are not allowed in procedures?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
What are the jcl procedures?
what is the JCL statement consists of?
What are steplib and joblib?
What is the function of a dd statement?
How can return codes be tested before execution of a job step?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
How to pass data to a program that is coded in an exec statement?
Describe the various parameters utilized in the creation of a gdg?
Explain the purpose of dd dummy statement?
What is the difference between the positional and keyword parameters? Give examples.