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


Please Help Members By Posting Answers For Below Questions

how JCL works?

793


How to pass the parameter in parm using linkage section ? (syntax)?

643


What parameter of the job statement is used to limit the cpu time consumed by the job?

832


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1958


What is Cataloged Procedures?

707






What are the difference between jcl and jes?

1041


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

714


if the submitter of a job wants to inform another user about the job completion, how can it be done?

744


List the different jcl statements that are not permitted in the procedures?

634


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1938


A dd statement consists of 4 fields. Name them?

912


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1577


What is the function of //jcllib statement?

795


How can a jobs execution priority be modified?

791


In sms datasets, what is the function of the dd mgmtclas keyword?

853