9 101 GET_COMPOSITION

LANSA Technical

9.101 GET_COMPOSITION

Þ Note: Built-In Function Rules

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.

For use with

LANSA for i

NO

Visual LANSA for Windows

YES

Visual LANSA for Linux

YES

 

 

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
        CN = Generated C Name
        EO = Executable
        SO = Source

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