Using FileMaster R12.0 to copy IAM indexed dataset to new dataset, found that the new dataset is a sequential dataset with no index.
FileMaster shows no INDEX information.
FileMaster R12.0
Both FileMaster and IAM are working as designed.
IAM emulates VSAM in sequential files.
This case was a misunderstanding.
To define an IAM dataset in IDCAMS, you only need to specify the OWNER as ($IAM)
e.g.
//* EXAMPLE OF IDCAMS DEFINE OF AN IAM FILE *//
//*
//IAMDEFIN EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE CLUSTER -
(NAME(MY.IAM.KSDS) -
OWNER($IAM) -
VOLUMES(MYVOL1) -
CYL(10 1) -
RECORDSIZE(100 1000) -
KEYS(24 8) -
FREESPACE(5 20) -
SHAREOPTIONS(2 3) -
REUSE )
LISTCAT ENT(MY.IAM.KSDS) ALL
/*
This creates a sequential file that emulates VSAM.