Can we use empty VSAM as input?
Answers were Sorted based on User's Feedback
Answer / biswaranjan
No its not possible at all.
If u are using a empty VSAM file it ll show:
FILE STATUS : 35
If you want to read it you have to get inside the file and
incert a dummy record there.
Is This Answer Correct ? | 19 Yes | 2 No |
Answer / sadaf rehan
empty VSAM can not be readed becouse key is needed and when
nothing is there what will be the key..
if you tried to read u'll get file status 35
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / anantha dhanush kodi
Sorry, We can't use Empty VSAM as input. . .
As it contains no records, open will fail with some
filestatus code.
But We can use Empty vsam as output.
During first run open the file in output mode.
In consecutive runs change the mode to extend.
Sample :
open output esdsfilename.
If (filestatus = 35 or filestatus = 37 ) then
open extend esdsfilename
end-if.
Is This Answer Correct ? | 7 Yes | 2 No |
Answer / munish
No, we can not creat empty VSAM as input. I think , when
we have to put null record it the VSAM file for empty VSAM
as input. Otherwise it will give us file status as 35.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sadaf
It can be read....file status can be handled in the
program...
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / aditya
no u can't use empty VSAM as i/p ...place some data using
REPRO then u can use it...
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / dev
If VSAM file is not present physically thn only we get file
status as 35.
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / anantha dhanush kodi
Change the mode file open mode from Extend to Output. . .
Hope it will help u. . .
Is This Answer Correct ? | 3 Yes | 2 No |
Explain about LMMFIND - find a library member
hi friends........if u know syntax of IEBEDIT IN JCL
What is the DD statement for a output file?
I have Job A and Job B. I want to trigger Job B from Job A. Please advise.
I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?
How is a GDG base created?
what sort card you will use to copy the data from one dataset to another dataset?
wht do u mean by notify parameter, how can u give acess to multiple users ?
What are the kinds of job control statements?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
In jcl i have 255 steps. In 255 step i declared proc. In proc i have 20 steps this job is executable or not? why?