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 use of restart and how to use it?
In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc 10.is it possible? if possible how?
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility.
How can values be passed from the job stream to an executable program?
what is fixed length and variable length and difference between them
Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance
What is catelog procedure and how many catelog procedure to use in one job?
CAN ANYONE TELL ME WHAT IS "JOB-CARD"
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is the purpose of dd dummy statement?
what is the use of IEBGENER utility?