CSD

CSD files and CSD commands describe some CICS mainframe objects. These objects can be used in source code, like for example Cobol and JCL, mainly through CICS statements. 

File

CSD Command

DEFINE FILE(FILENAME)
DSNAME(DATASETNAME) RLSACCESS(NO)
LSRPOOLNUM(1) READINTEG(UNCOMMITTED)

CSD File

FILE(FILENAME)
DSNAME(DATASETNAME) RLSACCESS(NO)
LSRPOOLNUM(1) READINTEG(UNCOMMITTED)

This is a description of a CICS file named FILENAME and a dataset named DATASETNAME

A link of type Related dataset from CICS file FILENAME to dataset DATASETNAME will be created

Transaction

CSD Command

DEFINE TRANSACTION(TRANSACTIONID) GROUP(CARDDEMO) PROGRAM(PROG)

CSD File

TRANSACTION(TRANSACTIONID) GROUP(CARDDEMO) PROGRAM(PROG)

This is a description of a CICS transaction named TRANSACTIONID

A link of type Start program from CICS transaction TRANSACTIONID to a program identified by PROG will be created, where PROG can be a Cobol, Asm, RPG, …

Program

CSD Command

DEFINE PROGRAM(PROG) TRANSID(TRANSACTIONID)

CSD File

PROGRAM(PROG) TRANSID(TRANSACTIONID)

This is a description of a CICS program named PROG

A link of type Default start program from CICS transaction TRANSACTIONID to a program identified by PROG will be created, where PROG is not the CICS Program object but can be a Cobol, Asm, RPG, …