How to declare the EMP Name, EMP No., DOB in VSAM KSDS
file? Please explain.....
Answer Posted / gomathi
//PSTY0010 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER (NAME (SAMPLE.DATA) -
TRACKS(45 15) -
RECORDSIZE(80 80) -
FREESPACE(10 15) -
KEYS(6 0) -
INDEXED) -
DATA (NAME(SAMPLE.DATA.DAT) -
CISZ(8192)) -
INDEX (NAME(SAMPLE.DATA.IDX))
/*
//*
In Key (6,0) mention the start position and length of the
key
| Is This Answer Correct ? | 11 Yes | 5 No |
Post New Answer View All Answers
in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?
what is the use of the file status clause in the select statement in vsam?
what do you mean by a vsam slot?
What is the use of KSDS,LDS,ESDS,RRDS??what is VRRDS?? How are all these useful in realtime scenario??Plz helpme out...Its a recent question in IGATE..
What is the function of linear dataset in vsam?
What are the common vsam error conditions and codes?
what is the syntax of ams modal commands?
what do you mean by a vsam split?
what is the purpose of the verify function of idcams?
What are the building blocks used in vsam datasets?
what is meant by s0c-07 system abend codes?
what do you mean by idcams? Explain its purpose?
why ci and ca splits are not possible in esds and rrds?
there are seven idcams commands in vsam. Can you name and explain each of them?
What is the main function of key-sequenced data set?