CDC_ExitUserRecord

The exit procedure CDC_ExitUserRecord will be called if a data record is expected from the exit because of parameter Input_Source_Type = 'USER_EXIT'.

Parameter Stem
Input X_GL_I
Output X_GL_O
Input Parameter
None
Output Parameters
X_GL_O.StructureFileName Name of the related structure file
X_GL_O.Record Data of the data record
X_GL_O.ReturnFlags

Return value

  • 0 - Process record
  • 1 - No more records (EOF)

Example:

CDC_ExitUserRecord: 

X_GL_O.StructureFileName = 'VSAM.ARTIKEL.FILE'
X_GL_O.Record = "xxxxx"

X_GL_O.ReturnFlags = 0
RETURN '0, No Error'