Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I/B)

 

 

 

 

 

Syntax

%QUESTION Code QAVarId

 

Code

Þ

*EN | *FI | *IN | *FR | *MG | *MI | *PG| *MR | *BK | *TR | *VA | *VW

 

or

%QUESTION *YN Indicator

 

or

%QUESTION **

 

Description

This instruction is used to ask a question during the guided building of a program.

 

You must specify:

    • the question code,

    • the guide word for the substitute variable or an indicator.

Possible codes and answers required:

**

ENTER (no answer required).

*EN

Name of a logical entity linked to the current application area.

*FI

Name of a file in the file glossary.

*IN

Adelia instruction.

*FR

Free text.

*MG

Error message.

*MI

Name of a macro-instruction.

*YN

Y or N (always associated with Indicator).

*PG

Guide word for a program in the program glossary.

*MR

Management rule name.

*BK

Guide word for a break.

*TR

Transaction number.

*VA

Guide word for a data environment variable.

*VW

Guide word for a view.

 

Example

1.   %QUESTION *TR TRS_NUMBER

%%Specify the number of the transaction to create.

 

The answer will be stored in the TRS_NUMBER variable.

 

2.   %QUESTION *YN 01

%%Do you want to create a transaction?
%IF 01

%QUESTION *TR TRS_NUMBER
%%Specify the number of the transaction to create.
%CREATE_TRS $TRS_NUMBER 'Transaction title' $TRS_TEMP_1

%END

 

3.   %TRS $TRS_NUMBER

*GENERATE_TRS $TRS_NUMBER
%QUESTION
**
%%Display the transaction layout.

 

Note: The indicators are reset to N at the beginning of program building.
The question text must not exceed six lines, with a maximum of 75 characters per line preceded by %%.

 

List of Q/A instructions by topic

 

↑ Top of page

  • Aucune étiquette