how to identify the file used in the JCL is an VSAM file.
Just seeing the JCL code how can we track the file as VSAM file?
Answer Posted / sj@iy
Not sure of how to indentify via JCL, but it can be
identified in COBOL program through the SELECT clause
SECLECT file ASSIGN TO FileSystemID-Filename
Here, FileSystemID identifies a file as either of the
following
a) VSAM - (Coded as VSA or VSAM; E.g. SELECT FILE1 ASSIGN
TO VSA-MyFile)
b) STL - STL File System (E.g. SELECT FILE1 ASSIGN TO STL-
MyFile)
c)RSD- Record Sequential Delimited File System.
If the FileSystemID is ommited, then the runtime option
FILESYS treats the file as VSAM.
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
Can we use DISP=SHR in output file in JCL
How to submit jcl through a cobol program?
A dd statement consists of 4 fields. Name them?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Is it possible to left uncode disp? If yes, how?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
which parameter is use to declare the name of dataset in dd statement?
Explain about ISPF/TSO Commands
Is acct parameter mandatory?
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?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
How can the submitting users racf authority be overridden in a job stream?
Explain dd statement in jcl?
Is it possible to code instream data in a PROC?
Where can program checkpoints be stored for use in a restart?