BTEQ - Exporting under MS-DOS, UNIX in Teradata

Under MS-DOS/PC-DOS or UNIX on a network-attached system, the export command will work like this:

Example:
.logon dpid/userid, password
.export report file=report.out
.set rtitle ’Department Information’
.set format on
execute deptdisplay;
.set format off
.export reset
.logoff
.exit