VSAM Linear Data Set (LDS):

VSAM RRDS VSAM Structure

Advertisements


LDS is a byte-stream data set.

LDS is the only form of a byte-stream data set in traditional z/OS files.

LDS used by DB2, z/OS system functions heavily, but rarely used in application programs.


Syntax:

LDS- JCL for creating LDS dataset:

						
//JOB CARD
//*------------------------------------------------------------------
//* Definition of LDS
//*------------------------------------------------------------------
//STEP01  EXEC PGM=IDCAMS
//SYSPRINT  DD SYSOUT=*
//SYSIN     DD *
    DEFINE CLUSTER 				-
       (NAME(userid.CLUSTER.NAME) 		–
	CYLS(4 1)  				-
       	VOL(XXXXXX) 				–
	BUFFERSPACE(20) 			–
	CONTROLINTERVALSIZE(4096) 		–
	FREESPACE(10 20) 			–				–
	RECORDSIZE(75 50) 			–
	SHAREOPTIONS(1 3) 			-
	TO(2050360) 				-
        LINEAR	 				-
        NOREUSE 				-
        OWNER(userid) ) 			-
      DATA 					-
        (NAME(userid.CLUSTER.NAME.DATA)) 	-
      CATALOG(XXXXXX)

/*


VSAM RRDS VSAM Structure

Advertisements