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 |
How many extents are possible for a sequential file ? For a VSAM file ?
We have two PS files,want to compare those files and put the duplicate records in one file. Input file 1 contains(1,2,4,9,10) Input file 2 contains (1,4,5,11,12,14,16). Help me with jcl.
which parameter is used to check the syntax of a jcl without executing it?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is the purpose of the PARM keyword in the EXEC statement?
ihave ten flatfile in that iwant to concatinate all the files except file 5,6 into output file by uing jcl? how to do this? give me detail yntax for tis?
What is the significance of addrspc parameter in exec statement?
Describe the DD statement, its meaning, syntax and keywords?
describe the exec statement,its meaning ,syntax and keywords?
SORT card to eliminate duplicity.
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?