9.80 GET_COMPOSITION
Returns the list of objects that comprise a LANSA Object for all currently enabled build environments. An enabled environment is indicated by envenab=YES in x_bldenv.dat. Note that the Microsoft Windows environment (envtype=W32) is returned as W95 as only one or the other can be enabled at one time and they share the same directory structure and filenames.
This is a Specialized Built-In Function for use in a Development Environment only.
Processing
This BIF will return the list of Objects that comprise a specific object name and type. It will get the information from X_BLDENV.DAT and return the fully calculated value of the file name and path. It also returns a single entry with the object's generated C name for ALL platforms.
Arguments
No. | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | A | Req | LANSA Object | 1 | 20 | ||
2 | A | Req | Object Type: DF = Field/Component FD = File PD = Process | 2 | 2 |
Return Values
No. | Type | Req/ Opt | Description | Min Len | Max Len | Min Dec | Max Dec |
|---|---|---|---|---|---|---|---|
1 | L | Req | Composition list for an object. The list must be in the following format and not contain more than 32,767 entries: From-To Description 1 - 5 Platform (Linux, etc) 6 - 7 Object Type 8 - 27 Object Name (Physical name of the file) | 27 | 27 | ||
2 | A | Req | Return Code OK = The list was returned without error ER = An Error occurred during the getting of the list. | 2 | 2 |