COPYEXT

Specifies the copybook extension to be used when generating the complete copybook name for a DBD, MFS or PSB COPY statement.
Note: Supported by all mfims utilities.

Syntax:

>>-----COPYEXT--(ext)------><

Parameters:

ext
The file extension used to override the default file extension. This can be any one- to three-character extension, or NULL.

Properties:

Default: COPYEXT(defaultExt)

Where defaultExt is the file extension of the specified DBD, MFS, or PSB source copybook name.

Dependencies:

None

Comments:

By default, the file extension of the original DBD, MFS or PSB source copybook file name is appended to the COPY member name. For example, if the original MFS copybook name was MYMFS1.MFS, and a COPY statement asked to include member MYINDX, then the copybook MYINDX.MFS is copied. If you specify COPYEXT(CPY), for example, this produces an included copybook name of MYINDX.CPY.

COPYEXT(NULL) indicates that the copybook file name has no extension.

COPYEXT process -INC and ++INCLUDE statements as COPY statements.

Member names longer than eight characters are truncated to eight characters with no warning message.