Create syntax for a VSAM file ?
Answers were Sorted based on User's Feedback
Answer / prasad
DEFINE CLUSTER -
(NAME (XX17.TEST.VSAM) -
INDEXED -
KEYS (8 0) -
RECSZ (300 300) -
FREESPACE (10 5) -
MGMTCLAS (MCNEVER) -
CYL (80 20) -
SHR (1 3) -
SPEED -
REUSE) -
DATA (NAME (XX17.TEST.VSAM.DATA) -
CISZ (4096)) -
INDEX (NAME (XX17.TEST.VSAM.INDEX) -
CISZ (2048))
| Is This Answer Correct ? | 52 Yes | 6 No |
Answer / dhiraj
FOR ESDS:-
DEFINE CLUSTER (NAME(USERID.VSAM.ESDS) -
VOLUME(xxxxxx) -
TRACKS(5 2) -
RECORDSIZE(80 80) -
CISZ(4096) -
NONINDEX) -
DATA (NAME(USERID.VSAM.ESDS.DATA))
| Is This Answer Correct ? | 30 Yes | 11 No |
Explain the significance of the shareoptions parameter?
What is free space?
What happens when you open an empty VSAM file in a COBOL program for input?
is delete operation supported in an esds? Is rewrite operation possible in esds?
Do primary key values have to be unique? Do alternate key values have to be unique?
what is the RRN for the first record in RRDS?
in a cobol select statement, can you tell what is the organization for a ksds?
On which dataset you can have alt index?
what do you mean by a vsam split?
FREESPACE can be specified for which type of cluster? a.LDS b.RRDS c.ESDS d.KSDS
what's the biggest disadvantage of using a VSAM dataset?
8 Answers Anjana, CTS, DSRC, IBM,
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..?