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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / wing
Create an array then redefine it as a field that is long
enough to accommodate them all, then write the long field.
| Is This Answer Correct ? | 2 Yes | 0 No |
Does jcl support automatic restart?
Why do you want to specify the REGION parameter in a JCL step?
which parameter is used to check the syntax of a jcl without executing it?
In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?
How can u know the current date using jcl?
Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT. How can i do that..???
What does SYSIN * indicate?
What is the purpose of dd * statement in jcl?
Passing a variable parm from JCL to a cobol/db2 program
What is the significance of addrspc parameter in exec statement?
How can the submitting users racf authority be overridden in a job stream?
What 3 guidelines do we have to follow when concatenating DD statements?