Program Preparation Guidelines

 <  Day Day Up  >  

Although the chapter has discussed DB2 program preparation, few guidelines have been provided for its adequate implementation and administration. This section provides standard program preparation guidelines. The sections that follow provide guidelines for each program preparation component.

Be Aware of Default Names

If DB2 program preparation options are allowed to default, the following data set names are created:

USERID.TEMP.PCLIST

Precompiler listing

USERID.TEMP.COBOL

Modified COBOL source from the precompiler

USERID.TEMP.LIST

COBOL compiler listing

USERID.TEMP.LINKLIST

Linkage editor listing


Prepare DB2 Programs in the Background

Avoid running DB2 program preparation in the foreground. Background submission prevents your terminal from being tied up during program preparation. Additionally, if an error occurs during program preparation, a background job can be printed to document the error and assist in debugging.

Use the CICS Preprocessor

When preparing online DB2 application programs for the CICS environment, an additional program preparation step is required to preprocess CICS calls. Refer to Chapter 18 for additional information on CICS program preparation.

 <  Day Day Up  >  


DB2 Developers Guide
DB2 Developers Guide (5th Edition)
ISBN: 0672326132
EAN: 2147483647
Year: 2004
Pages: 388

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net