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
What is the main function of key sequenced data set in vsam?
In a KSDS file, key is missing for one record. How to insert the key for that particular record from back up file. Is there any sorting needed for the back up file before the key insertion?
write a program to read from a VSAM file , there will be a 5 records to create name. empno. resignation and address to update in a db2 table and call another program using dynamic call to find the matching fields in program 1 to update in db2 table. anybody pls send de program for dis ? thanks in advance...
How to get the last record in vsam file in cluster? And how can u get the ksds file records into cobol program?
what is the meaning of each of the values in shareopts(2 3)?
name the utility program closely associated with vsam?
What are the different commands used in idcams for vsam?
Tell about the ams used in vsam?
Why is master catalog used in vsam?
what will happen if there is no secondary allocation made for datasets?
What is the difference between lds and esds?
explain in brief how you can create a vsam file?
Explain the index set?
what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?
Define free space?