9.182 PUT_FUNCTION_ATTR
Þ Note: Built-In Function Rules.
Sets an attribute of a function definition that is being edited within an edit session previously started by using the START_FUNCTION_EDIT Built-In Function.
Attributes set or returned by this Built-In Function have the same editing and validation rules as the equivalent online facility provided in a full LANSA development environment.
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
|
Name of attribute to change
Valid attribute names are:
DESC- Function description
ONMENU - Display on Menu
MENUSQ - Menu sequence Number
EDTSRC - Identifier of Editor
|
1
|
10
|
|
|
|
2
|
A
|
Req
|
Value of that attribute is to be changed to. Allowable values are as follows
For attribute DESC: Any valid new function description up to 40 characters in length
For attribute ONMENU: Y – Displayed on Menu N – Not displayed on Menu
For attribute MENUSQ: Valid number represented as 5 numbers in range 00001 to 99999.
For attribute EDTSRC: 3 character editing "source" identifier.
Must not be blank or LAN.
|
1
|
256
|
|
|
|
Return Values
|
No
|
Type
|
Req/ Opt
|
Description
|
Min Len
|
Max Len
|
Min Dec
|
Max Dec
|
|
1
|
A
|
Req
|
Return code
OK = operation completed
ER = fatal error detected
|
2
|
2
|
|
|
|