I have a input file.
Data like: ABCDEFGH....
i want out put file like
AB
BC
CD
DE....How can do this??
Answer Posted / muttaiah
MDV:
If you are using this stmt
outrec fields = (1,2,78X,2,2,78X,3,2,78X,4,2,78X,5,2,78X)
Your LRECL for O/p File would 400
AB followed by 78 blanksBCfollowed by 78blanks....
Did you try the code which you placed there...
I'm not sure of 2nd step..
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the use of IEBGENER utility?
Where & How Do You Code Identifier In Jcl?
Explain the function of a dd statement?
What are some jcl statements that are not allowed in procedures?
What is use of restart and how to use it?
Which statement is used to identify the private libraries in job?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
how do you code a null statement?
What are steplib and joblib?
How to do automated restart when a job abend?
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.
Is it possible to define dd statements as you want?
a dd statement has 2 types of parameters. Name them?
Define concatenating?
Is there any command to check wether the ps file is in sorted order?