Say I have a file with 12 records. Each record has the name
of the month. I have to append data in these 12 records
into 1 record. How is it possible?
Answer Posted / priya
Read the file. Save the 1st record into output record after
calc its length. Say move in(1:len) to out(1:len), move
in(1:len) to out(len:len2) and so on. Write the out record
into output file.Correct me if am wrong.
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
how can you check if a file is empty using jcl?
which parameter is use to declare the name of dataset in dd statement?
Is it possible to left uncode disp?
Give the syntax of job specifying jcl statement.
What is the purpose of dd * statement in jcl?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
how you can access an uncataloged dataset in a JCL?
can any one plzzzzzz tell the jcl code for creating ps using idcams
Explain dd statement in jcl?
Mention the types of job control statements?
how to run batch program without jcl?
Explain the hierarchy levels in jcl?
what is the use of JCL?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?