Process GEXPENCH: GEXPENCH
FILENAME
The NOMFICHIER entry point is used to modify the name of the files exported at the END of a linked export based on a context.
Context and operating mode
The following tables are on line :
Table |
Significant content |
Table description |
---|---|---|
AENCHAINE [AEN] |
Yes |
|
AOBJEXT [AOE] |
Yes |
|
AOBJEXTD [AOD] |
Yes |
Object import/export lines |
AOBJET [AOB] |
Yes |
|
ATABLE [ATB] |
Yes |
|
ATABZON [ATZ] |
Yes |
Field dictionary |
ATABIND [ATI] |
Yes |
Index dictionary |
ATYPE [ATY] |
Yes |
|
APARIMPEXP [APX] |
Yes |
Import/export parameters |
Available variables:
Local char FICDON(gdimfic)(1..30): name of the exported files
Local Integer NBFIC: the number of exported files also matches the number of templates defined in the sequence code
Local integer IMPSTA: error status (0=ok, 2 file does not exist, 5 access problem)
[m :dia]CODE: sequence code
Open screen:
EXPENCH [DIA] parameters for the launch of the linked export.
Open tables:
AENCHAINE [AEN] Linked Export/import
AOBJEXT [AOE] Templates
AOBJEXTD [AOD] Template lines
AOBJET [AOB] Database object
ATABLE [ATB] Table dictionary
ATABZON [ATZ] Fields in the tables
ATABIND [ATI] Index for the tables
ATYPE [ATY] Data type
APARIMPEXP [APX] Export/import parameters
Other tables can be on line according to the call context.
To rename a file, it is preferable to use the sub-program MOVE(FICORG,FICDES,STAT) in the ORDSYS process.