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
how would you create a temporary dataset? And where will you use them?
which utility is used to sort a file in jcl?
in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?
Explain the function of //jcllib statement?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
What is the purpose of the dd keylen parameter?
Must tape dataset definitions include vol=ser specifications?
What are the 4 fields in dd statement?
how do you code a null statement?
in ways data can be passed to a COBOL program from JCL?
What is notcat 2 - gs?
Explain the purpose of dd dummy statement?
Is their any set of rules for dd? Explain.
What does a disposition of (MOD,DELETE,DELETE) mean ?
Is it possible to define dd statements as you want?