Can we use empty VSAM as input?
Answer Posted / biswaranjan
No its not possible at all.
If u are using a empty VSAM file it ll show:
FILE STATUS : 35
If you want to read it you have to get inside the file and
incert a dummy record there.
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
Differentiate between the joblib and the steplib statements?
Explain about LMQUERY�give a dialog information about a data set
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
How do you access an uncatalogued dataset in a jcl?
what is SOC4 error?
What are the parameters that are used in creating a gdg?
Where & How Do You Code Identifier In Jcl?
How can values be passed from the job stream to an executable program?
When space is allocated for an output dataset, what units can be used?
What is the motivation behind coding class parameter in job statement?
What is timing concept in mainframe?
what operation is performed by job statement?
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.
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
What is jcl in mainframe, and how many types of jcl statements are there for a job?