Use this macro to define each type
in the project definition.
This macro is required and can be used multiple times in a project
definition.
Macro format
>>-name--FLMTYPE--+----------------------+---------------------->
'-EXTEND=extended_type-'
>--+----------------+--+-----------------+---------------------->
| .-N-. | | .-N-. |
'-,BACKUP=-+-Y-+-' '-,ISAPACK=-+-Y-+-'
>--+------------------+--+--------------------------+----------><
| .-N-. | '-,REUSEDAY=number_of_days-'
'-,PACKFILE=-+-Y-+-'
Parameters
- name
- An 8-character type name.
- EXTEND=extended_type
- An 8-character name that can
be used as an alternate type when resolving include dependencies.
The type specified for the EXTEND parameter is substituted into
the @@FLMETP variable on FLMINCLS macros in language definitions.
@@FLMETP is used to define the types that are searched to find included
members.
- ,BACKUP=N|Y
- Specifies that during the package promote process these types
of files are to be backed up. If BACKUP=Y, you cannot also specify
PACKFILE=Y.
- ,ISAPACK=N|Y
- Specifies the high-level package file. This should be placed on
the high-level architecture definition file that is used by the package
backout facility to back up the required module. If ISAPACK=Y, you
cannot also specify PACKFILE=Y.
Note: If a module is migrated using
an ARCHDEF member that does not have this flag specified, SCLM will
not back up any modules.
- ,PACKFILE=N|Y
- Specifies that this is the file type where the package backout
information is stored. This file has the attributes RECFM=FB and LRECL=130.
If PACKFILE=Y, you cannot also specify BACKUP=Y or ISAPACK=Y.
- ,REUSEDAY=nnnn
- Use this flag with the PACKFILE parameter. It specifies the number
of days a package can be reused. If the package is older than this
value the package and its details will be deleted before the promote.
Example
Six types are defined. Type SOURCE2
is an extension of type SOURCE. In SCLM, if a member exists in type
SOURCE, its included dependencies can exist in either SOURCE or SOURCE2.
OBJ FLMTYPE
LIST FLMTYPE
LMAP FLMTYPE
LOAD FLMTYPE
SOURCE FLMTYPE EXTEND=SOURCE2
SOURCE2 FLMTYPE