Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I/B)

 

 

 

 

 

Syntax

%RETRIEVE_KEYS *GWLI 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 guide words for 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 *GWLI CUSTOMER_ENTITY PARAM_LIST
CALL DESC_PRT_PGM $PARAM_LIST

 

The data for access to the logical entity is 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 transmitted to the called program.

 

2.  %RETRIEVE_KEYS *GWLI $LOGICAL_ENTITY RETURN_VAR

 

List of Q/A instructions by topic

 

↑ Top of page


  • Aucune étiquette