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
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
I need exexution process for JCL programs
how can you check if a file is empty using jcl?
What is the function of //cntl statement?
What is the function of the dd mgmtclas keyword in sms datasets?
define cond parameter in jcl?
Is there any command to check wether the ps file is in sorted order?
Brief description of inline procedure of jcl.
what are the statements that are not valid to be included in an include statement?
How can a jobs execution priority be modified?
Explain the function of dd disp parameter?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
Explain the function of job statement in jcl?
What is timing concept in mainframe?