Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I/B)

 

 

 

 

 

Syntax

%RETRIEVE_KEYS *AGWLI LogicalEntityName QAVarId Separator

 

Separator

Þ

*KY | *PM | None

 

Note: LogicalEntityName can be the name of a variable to substitute.

 

Description

This instruction is used to retrieve into the variable QAVarId the list of associated guide words (name of fields used on the screen) of properties forming the logical entity key.

 

If no separator is specified, guide words will be separated using a space.

 

If the *KY separator is specified, guide words will be separated by the characters " ;" (space + ;). This syntax means this list can be used in a DEFINE_VIEW instruction.

 

If the *PM separator is specified, guide words will be separated by the characters "; " (; + space). This syntax means that the list can be used as a parameter of a PM class management rule.

 

Example

1.   Parameter setting:

%RETRIEVE_KEYS *AGWLI CUSTOMER_ENTITY PARAM_LIST

CALL DESC_PRT_PGM $PARAM_LIST

 

The associated field guide words of the properties forming the logical entity's key are retrieved.

This data is then used to call a program.

Each guide word stored in the list will be considered to be a parameter to be set in the program.

 

2.  %RETRIEVE_KEYS *AGWLI $LOGICAL_ENTITY RETURN_VAR

 

List of Q/A instructions by topic

 

↑ Top of page


  • Aucune étiquette