Products Downloads


French version


 

 

ADELIA

      

      

      

      

(I)

 

 

 

 

 

Section for use

TRANSACTION + beginning of model (program body)

 

Syntax

PROCESS TransactionNum

 

Description

This instruction goes to another transaction block after having first "freed" the current transaction.

The transaction is identified by its number TransactionNum.

 

A TRANSACTION section, which has the same number as the PROCESS instruction, must be created.

 

Example

0001

PROCESS 01

: Displays transaction 01 and goes to line 2

0002

TRANSACTION 01

 

0003

IF *F03

 

0004

TERMINATE

 

0005

END

 

0006

VERIFY 01

: Verifies all data of transaction # 01

0007

INITIALIZE 02

: Loads all data of transaction # 02

0008

PROCESS 02

: Displays transaction 02 and goes to line 9

0009

TRANSACTION 02

 

0010

IF *F12

 

0011

PROCESS 01

: Displays transaction 01 and goes to line 2

0012

END

 

0013

VERIFY 02

: Verifies all data of transaction # 02

0014

VALIDATE 02

: Updates database from data of transaction # 02

0015

PROCESS 02

: Displays transaction 02 and goes to line 9

 

See also the list of 4GL instructions by topic

↑ Top of page


  • Aucune étiquette