The following examples illustrate the use of the PRINT command:
Example 1—list the directory of a tableBASE library
List the Directory of a tableBASE library whose DDNAME is MAINLIB.
Example 2—list the definition of a table
List the definition of TABLE01 on tableBASE library MAINLIB.
PRINT LIB=MAINLIB DEF=TABLE01;
Example 3—list table contents
List the contents of generation 2 of TABLE01 on tableBASE library PRODLIB. The listing is to be in hexadecimal format, 80 characters to a line and the table is not password protected.
PRINT LIB=PRODLIB TBL=TABLE01 GEN=2 PRNT=H LINSIZ=80;