EXPORT - Internal Additions
These additions are for internal use only. Do not use them in application programs.
... CODE PAGE HINT cp
Incp, a code
page from database table TCP00 can be specified that overwrites the ID saved automatically.
... USING subr[(prog)]
This addition can be specified for EXPORT
TO DATABASE if a table work area
dbtab is declared for the relevant
database table using
FROM wa is not permitted. The data is not exported to the database
table. Instead, the subroutine
subr is called for each row that would be
written to the database without this addition. In the subroutine, the data can be accessed that would otherwise be written to the database table in the table work area
The subroutine must either be defined in the same program or in a program,
prog, specified explicitly. Its name must be prefixed with the name of the database table
("dbtab"). The subroutine must have a
USING parameter of type
any, which is currently not supplied.
For external use,
TO INTERNAL TABLEis provided instead of
TO DATABASE ... USING.
Specifying an external program
progis the same as the obsolete variant of