IOMODE |
Iomode is used to assign for a sequential file, the following parameters : Adxirs, Adxifs, Adxium.
Iomode ( Adxirs | Adxifs | Adxium ) expression [ Using abrev ]
|
Element |
Description |
Restrictions |
|
expression |
Expression of the type Char or Numeric that are used to load one of three system variables. |
None. |
|
abrev |
Abbreviation describing the open file. |
None |
# Read of the first 10 words in the line in sequential files # the fields are separated by ' ' # the records are separated by CR LF (chr$(13)+chr$(10)) # The character string to read is in ASCII Char MOT1(30)(10)Openi filpath('TRT','ZINSTRUC1','txt') Using [FIC1]
Iomode adxirs ' ' Using [FIC1]
Iomode adxifs chr$(13)+chr$(10) Using [FIC1]
Iomode adxium 50 Using [FIC1]
Rdseq MOT1 Using [FIC1]
Openi Using [FIC1]
Iomode is used to assign for each open sequential file, the following parameters : Adxirs, Adxifs, Adxium.
Thus, Iomode is used to define the character for the field separation by the Adxifs variable , the character for the separation of the records by the Adxirs variable and the coding of the character strings by the Adxium variable.
This is a new instruction for version 140.
No associated errors.
ADXIFS - ADXIRS - ADXIUM - RDSEQ - WRSEQ - OPENI - OPENO
|
|