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 the parameter to be passed in the job card for the unlimited time , irrespective of the job class ?
how many max steps can we use in a job? pls answer to my question
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code?
What are the valid DSORG values ?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
Explain about LMINIT - generate a data ID for a data set
what is the resolution for sb37 error
What happens if both JOBLIB & STEPLIB is specified ?
We have 100 steps in a procedure and we need to run the jcl and execute only 25th step in the proc and not the remaining steps. How can we do it?
5 Answers IBM, JPMorgan Chase,
At what stage, operator can change the class and priority of a submitted job?
If I update one or more members in a pds in the step 1, how can I reach these new contents to be used in the step 2 of the same job? To start a new job via intrdr is not satisfactory, because I must solve this problem in one job.
Definition of COND parameter in JCL