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 |
What is a COND parameter in JCL?
what is the difference between perform varying and perform
How to execute 2nd and 4th steps among 5 steps in jcl proc?
HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?
what is d/f b/w sysout & sysprint
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?
Say I have a file with 12 records. Each record has the name of the month. I have to append data in these 12 records into 1 record. How is it possible?
A file has dta in S9(09) COMP format. How do I move the data into a character field X(10)?
If a JOBSTEP abends, AND without using COND also, all the subsequent steps execute, then what is the use of using EVEN ? Why do we use EVEN when without it also all the JOBSTEPs execute ?
i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it
What is the significance of addrspc parameter in exec statement?