9 124 GET_PROCESS_INFO

LANSA Technical

9.124 GET_PROCESS_INFO

Þ Note: Built-In Function Rules.

Retrieves a list of process 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

Do not use on IBM i in an RDMLX partition.

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

Type of process related information to retrieve.

Valid types are:

PROCATTACH - Attached processes/ functions

MLATTR- Multilingual attributes

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 process.

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 = Process not found. Last entry in the list is returned as null.

 

2

2

 

 

2

L

Req

Working list to contain process related 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 100 bytes.

For type PROCATTACH:
Each returned list entry is formatted as follows:

From - To   Description

1 - 10   Attached process name

11 - 17   Attached function name (*ALL if process is attached)

18 - 100   <<future expansion>>

For type MLATTR:
Each returned list entry is formatted as follows:

1 - 4   Language code

5 - 44   Process description

45 - 100   <<future expansion>>

100

100