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


Please Help Members By Posting Answers For Below Questions

whats the diff bw the evaluate also and and?

1859


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.

732


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

925


How is the record format of an output dataset specified?

747


List the various advantages of using jcl language?

854






Is acct parameter mandatory?

764


Is condition checking possible in jcl? If yes, how?

737


Is there any command to check wether the ps file is in sorted order?

2436


What is the format of comment statement?

673


List in order the hierarchical levels of jcl?

672


What is NOTCAT ?

742


in ways data can be passed to a COBOL program from JCL?

669


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1804


What are the parameters that are used in creating a gdg?

741


What is the function of //cntl statement?

832