BTEQ - Exporting under VM in Teradata

Under VM on a channel-attached system, export command in BTEQ can be used like this.

Example:
.logon tdpid/userid, password
.cms filedef reportout disk report out
.export report ddname=reportout
.set rtitle ’Department Information’
.set format on
execute deptdisplay;
.set format off
.export reset
.logoff