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


Please Help Members By Posting Answers For Below Questions

when does a dataset go uncataloged?

1040


How can values be passed from the job stream to an executable program?

1092


Explain how can return codes be tested before execution of a job step?

1047


Explain how can a jobs execution priority be modified?

951


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1051


Are there any set of rules for the names of the steps used in a job?

844


how do you code a null statement?

1013


How is a type of file defined in the jcl that executes the cobol program?

912


Is it possible to left uncode disp? If yes, how?

909


Is it possible to define dd statements as you want?

848


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1088


Matching Logic in Jcl not in cobol.Could any one please answer this question

3911


Is it possible to code instream data in a PROC?

981


I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?

918


What is the function of dd name parameter with a 2 part structure; audit.report?

945