Previous Topic: Set Field Data Correlation IDNext Topic: Set User Data


Get Field Data Correlation ID

The get field data correlation ID function retrieves a correlation ID for the transaction.

Use the following assembler GSVCMEI macro GET_FIELD example to code this function:

....+....1....+....2....+....3....+....4....+....5....+....6||7..
DFHEISTG	    DSECT ,
MEIPL		    GSVCMEI GEN_PARMLIST,DSECT=NO
DSA_CorID	    DS    0CL130
DSA_CorID_Type	    DS    AL1
DSA_CorID_Len	    DS    AL1
DSA_CorID_Data	    DS    CL128

module   DFHEIENT

	GSVCMEI GET_FIELD,			Get field	 X
		FIELD=CORID,			..field name	 X
		DATA=DSA_CorID			..data value

	EXEC CICS RETURN