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
whats the diff bw the evaluate also and and?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
How is the record format of an output dataset specified?
List the various advantages of using jcl language?
Is acct parameter mandatory?
Is condition checking possible in jcl? If yes, how?
Is there any command to check wether the ps file is in sorted order?
What is the format of comment statement?
List in order the hierarchical levels of jcl?
What is NOTCAT ?
in ways data can be passed to a COBOL program from JCL?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
What are the parameters that are used in creating a gdg?
What is the function of //cntl statement?