9 109 GET_FUNCTION_LIST

LANSA Technical

9.109 GET_FUNCTION_LIST

Þ Note: Built-In Function Rules.

Retrieves a list of processes, associated functions and their descriptions from the LANSA internal database and returns them to the calling RDML function in a variable length working list

Þ 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

 

 

 

 

Return Values

No

Type

Req/ Opt

Description

Min Len

Max Len

Min Dec

Max Dec

1

L

Req

Working list to contain function information.

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

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

Each returned list entry is formatted as follows:

From - To   Description

1 - 7   Function name

8 - 47   Function description

48 - 48   RDMLX function (Y or N)

49-60   <<future expansion>>

60

60

 

 

2

A

Opt

Return code.

OK = list returned partially or completely filled with function details. No more functions exist for this process.

OV = list returned completely filled, but more functions than could fit in the list exist. Typically used to indicate "more" functions in page at a time style list displays.

NR = list was returned empty. Last function in the list is returned as blanks.

ER = Process not found. Last function in the list is returned as blanks.

2

2