Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I/B)

 

 

 

 

 

Syntax

%RETRIEVE_VIEW *LI ViewName QAVarId Separator

 

Separator

Þ

*KY | *PM | None

 

Note: ViewName 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 in the view key fields.

 

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.   %RETRIEVE_VIEW *LI CUSTOMER_VIEW RETURN_VAR

CALL PRT_PGM $RETURN_VAR

 

When the customer entity view has been defined, the data for access is retrieved.
It can then be 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_VIEW *LI $VIEW RETURN_VAR

 

List of Q/A instructions by topic

 

↑ Top of page


  • Aucune étiquette