


If a load statement in a command file specifies INFILE *, data is also read from the command file. This data can be put directly after the load statement or be separated from it by a separator line (/ or * in the first position).
During interactive execution, the data, together with the statement, is copied to the screen if the input data in the command file is placed directly after the load statement without being separated from it by a separator line. In this case, the size of the edit form must be taken into consideration because it possibly does not allow for a complete representation of the data.
* *********************************
* Example of unseparated input data
* *********************************
DATALOAD TABLE customer
cno 1-4
name 6-15
city 17-36
state 37-39
zip 40-44
INFILE *
1001 JULIE ANDREWS SANTA CLARA CA95094
1002 WARREN BEATTY DALLAS TX75243
1003 BURT LANCASTER HOLLYWOOD CA90029
If the input data in the command file is separated from the load statement by a separator line, the data is not transferred to the screen during execution. This form should be chosen if the data contains non-representable characters or cannot be represented completely:
* ********************************
* Example of separated input data
* ********************************
DATALOAD TABLE regular_customer
cno 1-4
firstname 6-15
name 19-28
requests 34-1000
INFILE *
****************************************
1001 JULIE ANDREWS ...
1002 WARREN BEATTY ...
1003 BURT LANCASTER ...
A DATALOAD or DATAUPDATE statement referring to separated input data from the command file cannot be executed more than once with RUN, even if it is still displayed in the input area.
If a load statement is aborted before its normal completion, all records in the command file with input data for this statement are skipped.


