9 108 GET_FUNCTION_INFO

LANSA Technical

9.108 GET_FUNCTION_INFO

Þ Note: Built-In Function Rules.

Retrieves a list of function related information from the LANSA internal database and returns it to the calling RDML function in a variable length working list.

Special Note: This Built-In Function provides access to very advanced facilities that basically allow RDML functions to construct new RDML functions.

This is a very specialized area that requires very good knowledge of the LANSA product. Use of this Built-In Function in a "commercial" application (e.g. Order Entry) is not normal and should not be attempted.

Þ This is a Specialized Built-In Function for use in a Development Environment only.

For use with

LANSA for i

YES

Visual LANSA for Windows

YES

Visual LANSA for Linux

NO

 

 

Arguments

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Process name.

1

10

 

 

2

A

Req

Function name.

1

7

 

 

3

A

Req

Type of function related information to retrieve.

Valid type for all LANSA systems:

MLATTR- Multilingual attributes

Valid types for LANSA on IBM i :

FIELDS- Fields used by the function

FILES- Files used by the function

FUNCPANEL - LANSA Documentor panel layouts

FUNSTEXT- LANSA Documentor function MSL Diagram

FUNTNOTE- LANSA Documentor function MSL technical notes

FUNTABLE- LANSA Documentor function MSL tables

FUNXR3GL- LANSA Documentor called 3GL programs

FUNXRPRO- LANSA Documentor called processes

FUNXRFUN- LANSA Documentor called functions

FUNXRBIF- LANSA Documentor called Built-In Functions

FUNCREP- LANSA Documentor report layouts functions

FUNXRSYV- LANSA Documentor system variables used

FUNXRMST- LANSA Documentor message text used

FUNXRMSI- LANSA Documentor predefined messages used

 

1

10

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

A

Req

Return code

OK = list returned partially or completely filled. No more of this type of information exists for this function.

OV = list returned completely filled, but more of this type of information than could fit in the list exists.

NR = list was returned empty. Last entry in the list is returned as null.

ER = Function not found. Last entry in the list is returned as null.

2

2

 

 

2

L

Req

Working list to contain process related information.

The calling RDML function must provide a working list with an aggregate entry length of exactly 132 bytes.

List must not be more than:
32767 entries in Windows
9999 entries on IBM i.

For type FIELDS:

Each returned list entry is formatted as follows

From - To   Description

1 - 10   Field name.

11 - 132   <<future expansion>>

For type FILES:

Each returned list entry is formatted as follows

From - To   Description

1 - 10   Physical file name

11 - 20   Physical file library

21 - 30   Logical view name (blank if the physical file used)

31 - 132   <<future expansion>>

For type FUNXXXXXXXXXX:

(ex LANSA Documentor)

Each returned list entry is formatted as follows

From - To   Description

1 - 132   LANSA Documentor line.

For type MLATTR:

Each returned list entry is formatted as follows

From - To   Description

1 - 4   Language code

5 - 44   Function description

45 - 132   <<future expansion>>

132

132