User`s guide

AUDIX Administration and Data Acquisition Package 585-302-502 Issue 17
May 2002
Using the ADAP Command Line Language
11-21Command Line Commands
11
The file subscr.dat is in the delimited format. It can be read from within dBASE III
PLUS at the dBASE dot prompt or from a dBASE III PLUS program. From the
dBASE dot prompt, you would type the following:
use sub.dbf
This command causes dBASE III PLUS to use the database structure relevant for
the getsub data. dBASE III PLUS then knows how many fields make up the
records, the field names, whether those fields are to contain numbers, character
strings, dates, etc.
The following dBASE III PLUS command reads the data retrieved from ADAP
saved in subscr.dat, and loads it into the working database.
append from subscr.dat type delimited
The subscriber data for each subscriber initially listed in the input file subs now
exists in a dBASE III PLUS database. The dBASE III PLUS user can sort, search,
do reports, etc., on any of the data returned by the getsub command.
Return Codes
On successful completion, all of the screen retrieval commands exit with a return
code of 0. If processing is not complete when a command terminates, the
commands exits with a non-zero return code. The value of return codes may be
tested from the MS-DOS prompt or using batch programs with the DOS
ERRORLEVEL command.
RS-232 driver errors are shown in Appendix B, "
RS-232 Driver Errors".