TID

Read syntax diagramSkip visual syntax diagram
>>-TID(fieldname)----------------------------------------------><

(Can be used in FASTREXX procedures.)

TID is a Boolean function available when using a template. It enables you to test whether the record currently being processed is defined by the record layout where fieldname is the 01 level name.

fieldname
The name of an 01 level field name in the template.

Example

Only process the records mapped by 01 level name SMFRCD30.

IF TID('SMFRCD30') THEN
  RETURN 0
ELSE
  RETURN 'DROP'