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

what JCL Procedures?

697


I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1342


How to override loadlib?

1417


How to do automated restart when a job abend?

787


Can we call instream to catalog and catalog to instream?

681






Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2216


if the submitter of a job wants to inform another user about the job completion, how can it be done?

753


What is timing concept in mainframe?

1657


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

705


what is the purpose of coding class parameter in job statement?

713


can any one plzzzzzz tell the jcl code for creating ps using idcams

10500


what is SOC4 error?

732


What is the function of dd disp parameter?

654


What is the syntax of JCL statement?

688


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

735