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

how would you create a temporary dataset? And where will you use them?

854


which utility is used to sort a file in jcl?

850


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2267


Explain the function of //jcllib statement?

818


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2211






What is the purpose of the dd keylen parameter?

820


Must tape dataset definitions include vol=ser specifications?

1138


What are the 4 fields in dd statement?

821


how do you code a null statement?

878


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

738


What is notcat 2 - gs?

1056


Explain the purpose of dd dummy statement?

781


Is their any set of rules for dd? Explain.

754


What does a disposition of (MOD,DELETE,DELETE) mean ?

763


Is it possible to define dd statements as you want?

751