ADELIA |
|
|
|
|
(I/B) |
|
|
|
|
Syntax
Interactive context
%ASSIGN TransactionNum LogicalEntityName View
View |
Þ |
ViewName | None |
Batch context
%ASSIGN LogicalEntityName View
View |
Þ |
ViewName | None |
Note: TransactionNum, LogicalEntityName, and ViewName, can be the name of variables to substitute.
Description
This instruction is used to assign a logical entity to a transaction in an interactive context, or to a current report layout in a batch context, and, if required, to define the guide word for the view concerning that logical entity.
Example
Interactive context
1. %ASSIGN 01 CUSTOMERS_ENT CUSTOMER_VIEW
In this example, the CUSTOMERS_ENT entity is linked to transaction 01. The view generated will have the name CUSTOMER_VIEW.
2. %ASSIGN $TRS_NUMBER $LOGICAL_ENTITY $VIEW
In this example, the fixed information has been replaced by variables ($). These variables are supplied on the basis of questions asked previously.
Batch context
1. %ASSIGN CUSTOMER_ENTITY CUSTOMER_VIEW
2. %ASSIGN $LOGICAL_ENTITY $VIEW
Note: In all cases, the view name is optional.
List of Q/A instructions by topic