Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DB2-cobol Program

Status
Not open for further replies.

DB2amature

Programmer
Nov 26, 2003
1
US
Why is the Load module name same as the program Id, for a DB2 -COBOL program? which is not the case in case of a normal COBOL program?
 
I believe that the name of the load module is controlled by the parameters specified in the link edit step of the compile and link. The name can be explicitly referenced in the JCL by coding:

//SYSLMOD DD DSN=LOAD.MODULE.LIBRARY(LOADNAME)

or by link edit parms in the SYSLIN dd name such as:

INCLUDE LIB(SUBPROG1)
INCLUDE LIB(SUBPROG2)
NAME PROGNAME(R)

If you have a difference between standard cobol and db2 cobol load modules, I suspect that it is to do with your link edit procedure.

hth
Marc
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top