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?
Answers were Sorted based on User's Feedback
Answer / raghuram
If the file is getting created in the job, we can identify it as it will be created by giving CI (control interval, CA (control area) parameters which are specific to VSAM creation
Is This Answer Correct ? | 8 Yes | 2 No |
Answer / ashis
browse the file in Start 3.4 option then see whether data
and index present. this the only way. how u can identify
only looking into it without doing anything else. Probably
God can identify by looking into it.
Is This Answer Correct ? | 5 Yes | 3 No |
Answer / harsha
I know its not a generic answer, but many system used BUFND
(Buffer data) and BUFNI(Buffer Index) parameter while using
any VSAM file.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / becky
JCL contains EXEC PGM=IDCAMS for doing any operation in VSAM. From that we can identify VSAM file is used in the JCL by seeing the JCL code itself.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / selvam a
If the VSAM file is updated in a job, then definitely there
will be a backup step prior to the update step. The backup
can be a DASD backup (using IDCAMS utility - Repro) or a
Tape backup (using ADDRSSU utility). And if the job abends,
there will be a separate JCL to delete/define this VSAM file
and restore it from the backup taken.
So by checking these utilities presence we can make sure
that JCL has a VSAM file.
More over in our system, we differentiate a vsam file by
including a 'V' as the last character of the second
qualifier Ex: XXXX.YYYV.ZZZZ
I am not sure of the other systems.
Is This Answer Correct ? | 0 Yes | 3 No |
Answer / 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 |
In sms datasets, what is the function of the dd mgmtclas keyword?
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.
Describe the various parameters utilized in the creation of a gdg?
describe the exec statement,its meaning ,syntax and keywords?
wht do u mean by inrec and outrec ?
What parameter of the job statement is used to limit the cpu time consumed by the job?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
What do you understand by the term notcat 2 – gs?
In sms datasets, what is the function of the dd avgrec keyword?
How many instream we can write in single jcl?
how do u send return code from cobol to jcl ?
How to use COND Parameter in jcl