Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to declare the EMP Name, EMP No., DOB in VSAM KSDS
file? Please explain.....

Answer Posted / prachi

//STEP010 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER (NAME (EMPLOYEE.INFO.FILE) -
VLOUMES(TSOP01) -
CYLINDERS(10,2) -
CONTROLINTERVALSIZE(4096) -
FREESPACE(10,20) -
KEYS(5,21) -
RECORDLENGHT(31,31) -
DATA -
(NAME(EMPLOYEE.INFO.FILE.DATA)) -
INDEX -
(NAME(EMPLOYEE.INFO.FILE.INDEX) -
CONTROLINTERVALSIZE(1024))
/*
//

ASSUMING FOLLOWING THINGS

EMP-NO AS KEY

EMP-NO PIC 9(5)
EMP-NAME PIC X(20)
DOB PIC X(6)

RECORD IS FIXED LENGHT

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps involved in access method services?

941


Using alternate indexes in cics program?

1001


in a cobol select statement for a ksds can you tell me what are the 3 possibilities for access?

1188


what do you mean by a vsam slot?

982


what is meant by s0c-07 system abend codes?

1053


Would you specify freespace ce for an esds?

1066


what do you mean by recovery and speed parameters in define cluster command?

1086


What are the different dataset organizations used in vsam?

975


explain how can you initialize a vsam file before any operation?

1083


what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?

987


Why is master catalog used in vsam?

1094


what do you mean by idcams? Explain its purpose?

957


What is the place for VSAM KSDS?

1087


how do you define an altindx ? How do you use altindxs in batch, cics programs?

1057


Explain the device independent method to indicate where a record is stored?

900