This is an example of a file on a workstation-attached system:
.logon tdpid/userid, password
.export report file=report.out
.set rtitle 'Department Information'
.set format on
execute deptdisplay;
.set format off
.export reset
.logoff
.exit