I've one sequential file, that file size is LREC=100 (File
contain Records like 1 to 100). Now I was increase the file
size is LREC=102. My question is I want insert 00 (Two
Zeros) in to the new file (That output file looks like :
00123 up to 100). How will write the SORT card in JCL.
Please let me know.
Answer Posted / satish
//sysin dd *
option copy
oufil fnames=(ddname),build=(2c'0',1,100)
/*
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How does jcl act on a cobol code?
Why block size is multiple of lrecl in jcl?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
Must tape dataset definitions include vol=ser specifications?
what is the use of IEBGENER utility?
Is it possible to left uncode disp?
which utility is used to sort a file in jcl?
Explain how can return codes be tested before execution of a job step?
What are the 4 fields in dd statement?
how do you code a null statement?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
What is the function of dd disp parameter?
what is “Cond= even” and “Cond=only”?
Are there any set of rules for the names of the steps used in a job?