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 |
List in order the hierarchical levels of jcl?
What are three parameters you can specify on Job statement as well as on exec stmt ?
if we give TIME=0 how many sec that job/step
what is inrec fields and outrec fields in sorting
How to pass data to a program that is coded in an exec statement?
If the COND parameter is specified in both the JOB and EXEC statements, which one will take precedence? If JOB takes priority and if all the conditions evaluate to false, then will the conditions on the EXEC step be evaluated next?
which utility is used to update pds?
A dd statement consists of 4 fields. Name them?
In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04
What is DATACOM db?
Explain the function of dd disp parameter?
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?