If we are using empty VSAM file, we can see this empty file
by using FILE AID tool. How can we open empty VSAM file if
you are using in Program..?
Answers were Sorted based on User's Feedback
Answer / guest1
If you open it in Output mode and try to write it,
initially a dummy record will be written and the actual
content willbe written.
If you try to open in Input mode you will get file status
35.
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / mehdee
When we create empty new VSAM file, we should always
INITIALIZE it with a dummy record, before start using
it.And it is part of the crating.
| Is This Answer Correct ? | 1 Yes | 1 No |
What is the meaning of the DEFINE MODEL parameter?
in a cobol select statement, can you tell what is the organization for a ksds?
to use the rewrite command, how should the vsam file be opened?
how many buffers are allocated to vsam ksds and esds?
I have three fields in a Variable VSAM file X(2) Y(10) occurs X times Z(02) Say for the first record X=2 then the length of the file is 2+(10*3)+2=34 second record, x=4 then 4+(10*4)+2=46 If any time if the field x is updated then the total length changes. Is it feasible? Is it
What is the place for VSAM KSDS?
How do you define a GDG ?
What is the procedure for running the batch job in mainframe?
Define a path?
On which datasets You can have ALT INDEX?
What is the difference between sequential files and ESDS files?
What are the different versions of gdg named?