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 DD statement is used in JCL?
What is one line to pass PARM from JCL to COBOL?
How jcl work to handle various input output file operations?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is job control language?
what are the various stages of job processing?
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Give the syntax of job specifying jcl statement.
How can a jobs execution priority be modified?
Is condition checking possible in jcl?
What are s0c1, s0c4, s0c5, s0c7 and socb?
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.
which utility is used a dummy utility?
What is the purpose of dd dummy statement?
Explain how can the attributes of one sms dataset be copied to another dataset?