Dfhtept–generating the sample dfhtep tables – IBM SC34-6814-04 User Manual

Page 486

Advertising
background image

DFHTEPT–generating the sample DFHTEP tables

The following macros are required to generate the terminal error program tables:

v

DFHTEPT TYPE=INITIAL—to establish the control section.

v

DFHTEPT TYPE=PERMTID—to define permanently reserved terminal error
blocks (TEBs) for specific terminals.

v

DFHTEPT TYPE=PERMCODE|ERRCODE—to define permanently reserved error
status elements (ESEs).

v

DFHTEPT TYPE=BUCKET—to define specific error conditions to be accounted
for in the common error bucket.

v

DFHTEPT TYPE=FINAL—to end the set of DFHTEPT macros.

* GENERATE USER STORAGE

DFHTEPM

TYPE=USTOR

USORFLD

DS

F

DFHTEPM

TYPE=USTOREND

* MODULE SPECIFICATIONS

DFHTEPM

TYPE=INITIAL,

*

OPTIONS=((TD,TEPQ),NO3270,EXITS),

*

PRINT=(NOTEPACTION,NOTACPACTION),

*

DSECTPR=NO

* USER-SUPPLIED ERROR PROCESSORS

DFHTEPM

TYPE=ERRPROC,CODE=87

TEPCD81

DS

0H

-
-

error processor "87" source statements

-
B

TEPRET

DFHTEPM

TYPE=ERRPROC,CODE=9F

TEPCD9C

DS

0H

-
-

error processor "9F" source statements

-
B

TEPRET

* USER "EXIT" EXIT CODE

DFHTEPM

TYPE=EXIT

TEPEXIT

DS

0H

-
-

Additional user source statements to be executed after
error processing:

-
-
BR

R14

* CONCLUDE MODULE GENERATION

DFHTEPM

TYPE=FINAL

END DFHTEPNA

Figure 23. Example of DFHTEPM macros used to generate a sample DFHTEP module

464

Customization Guide

Advertising