Skip to main content

Create and print a compile listing from within SDE or TBOX

  • February 15, 2013
  • 0 replies
  • 0 views

This article explains how to create and print a hardcopy compilation listing using TBOX / SDE developers tool.

Problem:

One of the options within SDE during program compilation is to create a listing file. This option is enabled by using F4 while the compilation command menu is displayed. By default this listing is not automatically sent to a printer. How can you get the SDE or TBOX integrated development tools send listing to a printer?

Resolution:

In order to have the SDE or TBOX integrated development tools send a listing to a printer, the environment needs to be set to force the listing output to a system printer. Before starting SDE or TBOX set an environment variable named DD_LST so that it contains the command needed to ‘pipe’ output to the system’s ‘lp’ command. For example: export DD_LST=”> lp.Then start the development tool SDE. This will cause the listing created during the compile to be routed to the system print spooler. The lp command has other options which can be set to route to a specific printer, therefore see your systems administrator for details on printer names.

Old KB# 14410