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
Explain how can a jobs execution priority be modified?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Explain how can values be passed from the job stream to an executable program?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
what are JCLLIB and STEPLIB in JCL?
What do you understand by the term notcat 2 – gs?
What is jcl in mainframe?
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' ?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
Is there any command to check wether the ps file is in sorted order?
what are the types of abends that occur on job failure? And explain the possible causes of these
What are the parameter we cannot use in procedure?
In job processing, what happens in execution stage?
what is the compile process of cobol program expalin with code
How to run cobol program using jcl?