TEDIT primary command

The TEDIT command displays different template editing panels, depending upon the type of template currently in use. When you have finished editing the template, you return to viewing the data set.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-+-TEDIT-+---------------------------------------------------><
   '-TE----'   

If you are using a dynamic template or a copybook template with only one record type that has been identified, the TEDIT command displays the Field Selection/Edit panel, in which you can select fields and specify record selection criteria.

If you are using a copybook template with more than one record type that has been identified, the TEDIT command displays the Record Type Selection panel, in which you can select or edit records by type.

If you are not currently using a template, the TEDIT command acts like the TVIEW command, and shows the Template Workbench main panel, where you can create, select, and optionally edit a template before returning to viewing the data set with the template.

You can abbreviate the command TEDIT to TE.

Related tasks and examples