Running the Macro - Basic Teradata Query - 16.20

Basic Teradata Query Reference

prodname
Basic Teradata Query
vrm_release
16.20
category
Programming Reference
featnum
B035-2414-108K

When the macro is created and the export file defined, the following script exports the data returned as a report and executes the macro:

.LOGON tdpid/userid, password
.EXPORT REPORT DDNAME=report
EXECUTE deptdisplay;
.SET FORMAT OFF
.EXPORT RESET
.LOGOFF

Execute the z/OS JCL (from outside of BTEQ) to submit the script and execute the macro.