Products Downloads


French version


 


      

VADELIA

SADELIA

WADELIA

EADELIA


(I/B) (C/S)

(B) (S)

(I/B) (C/S)

(B) (C/S)


Section for use

DECLARATION


Syntax

DTAARA(Length) Id SeriesDSFields

DTAARA(Length) Id *REF_LDM(EntityAccJoin)


Description

This instruction is used to declare a data communication field (data area) named Id, of length Length, that consists of a series of DS fields.


The start position and the field type PosAndType can be specified.

With numeric fields, the type is used to determine whether the field is packed (P), four-byte binary (B) or extended (the default type).


Click here for the explanation of the SeriesDSFields element.


You can also refer to all the fields in an entity, access or join entity, by using the keyword *REF_LDM followed by the name of an entity, access or join entity.


The declaration must be in the global declaration block of a server block.


Note: In the AS/400 server part, Adelia only deals with *CHAR-type data areas. However, these data areas may be broken down into numeric subfields.


Warning: In a Windows server or client part, the data area corresponds to a Btrieve DBMS.


Example

DTAARA(15) DataStruc1 CpnyCode ItemCode

DTAARA(15) DataStruc2 CpnyCode,1 ItemCode,5 FamCode

DTAARA(15) DataStruc3 CpnyCode,B ItemCode,P FamCode

DTAARA(15) DataStruc4 CpnyCode,1B ItemCode,5P FamCode

DTAARA(15) DataStruc5 CpnyCode,P ItemCode,5B FamCode,10


↑ Top of page

  • Aucune étiquette