BASIC considerations for DDM

Compiled BASIC programs and interpretive BASIC statements can refer to DDM files. In addition, DDM file names can be specified on the Create BASIC Program (CRTBASPGM), Start BASIC (STRBAS), and Execute BASIC Procedure (EXCBASPRC) commands.

When BASIC is used to open a DDM file on the source server, the following statements can be used to perform I/O operations on the remote file at the target server, for both iSeries and non-iSeries targets: CLOSE, DELETE, INPUT, LINPUT, OPEN, READ, REREAD, RESTORE, REWRITE, and WRITE statements for processing record files, and GET and PUT statements for processing remote stream files.