1.

We Can Define The Ksds Cluster By Two Ways By Using The File-aid Or By Using The Idcams Utility. Explain Them.

Answer»

KSDS cluster can be defined by

-Using the file-aid
-or by using IDCAMS utility:

The record can be defined with average length of 100 and maximum length of 150, in IDCAMS, with key length 10 starting at 0.

The following EXAMPLE illustrates :

//step01 EXEC pgm=IDCAMS
//SYSIN DD *
DEFINE CLUSTER(NAME(userid.name.sample) -
VOLUMES(MVS801) -
RECORDSIZE(100 150) -
TRACKS(10 20)
KEYS(10 0) -
INDEXED ) -
DATA ( NAME(userid.name.sample.data)) -
INDEX( NAME(userid.name.sample.index)) -
/*
//

KSDS cluster can be defined by

-Using the file-aid
-or by using IDCAMS utility:

The record can be defined with average length of 100 and maximum length of 150, in IDCAMS, with key length 10 starting at 0.

The following example illustrates :



Discussion

No Comment Found