Previous Topic: $HEXTOCHAR FunctionNext Topic: @I$SYNC Compile Debugging


Compile Debugging

Based on your site and session output settings and on your use of the DESTINATION clause with CA Ideal output commands, you can direct the output of an online or a batch compilation‑the compilation listing‑to either the output library (for browsing online) or to a system printer. You can also direct an online compilation to a network printer.

You can use several options of the COMPILE command or the equivalent COMPILE prompter to aid in compile debugging. The Programming Reference Guide has the complete syntax. Working in the Environment Guide describes the compilation listing.

Compilation options include the following:

IDE
EXD
BOD
ADV
MEL
LSQL
REF
PANEL

Select all of these options if you are going to communicate with CA Ideal Technical Support. However, these options do incur some overhead. Use only those needed (for example, ADV and MEL) in a normal testing environment.

Example

COMPILE PGM 1 VER 2 IDE Y EXD Y BOD Y ADV Y MEL Y

To determine which options are on, use the DISPLAY SESSION COMPILE command. You can select any of the above options for a single compile, for a session, or for the site for the following: