My requirement is : How to populate a empty PS/flat file with
ONLY spaces in the first line. You should not use any input
dataset to do this. I'm not sure whether you may use any
utility for this purpose?
Answer Posted / walkin
Use a sort step with DISP=SHR and use OUTREC to put SPACES
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What are the 4 fields in dd statement?
how to do automated restart when a job abends?
What is notcat 2 - gs?
What is the difference between the positional and keyword parameters? Give examples.
Is condition checking possible in jcl? If yes, how?
what sort card you will use to copy the data from one dataset to another dataset?
what is the use of JCL?
In sms datasets, what is the function of the dd mgmtclas keyword?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
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 can values be passed from the job stream to an executable program?
What is multithreading in jcl?
Can an individual step be restricted from using all the jobs allowed cpu time?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
Explain about LMFREE�free data set from its association with data ID