Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I/B)

 

 

 

 

 

Syntax

%UPD_CONTEXT ProgramName SeriesQAVarId

 

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

 

Description

This instruction is used to store the answers to questions so that they can be re-used during the guided building of other programs.

Only programs specified after the %UPD_CONTEXT instruction can be reused.

Information storage remains valid until the relevant program has been completely built.

 

Note: The previous context of the relevant program is canceled by a %UPD_CONTEXT instruction.

 

Example

1.   PROGRAM_TEMP_1

%*UPDATE A BASIC FILE
%QUESTION *EN MANAGED_ENTITY
%%Specify the name of the updated entity.
%CREATE_PGM PGM_XX
%UPD_CONTEXT
PGM_XX MANAGED_ENTITY

 

A first program is created and the name of the relevant entity is saved.

 

PROGRAM_TEMP_2

%QUESTION *YN 99
%%Has this program already been defined in a management program?
%IF N99
%QUESTION *EN MANAGED_ENTITY
%%Specify the name of the updated entity.
%END

 

If this program was created using program template PROGRAM_TEMP_1, the question concerning the entity is not necessary.

 

2.   UPD_CONTEXT %UPD_CONTEXT $UPD_PGM VARIABLE_1 VARIABLE_2 VARIABLE_3 ...

 

List of Q/A instructions by topic

 

↑ Top of page


  • Aucune étiquette