Skip to main content

Can Mainframe Express recognise linker modules for COBOL?

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Can Mainframe Express recognise linker modules for COBOL?  

The IDE keeps thinking they are assembler.

For example,

2 programs: MYPROG1.CBL and MYPROG2.CBL with a linker file MYPROG0.LIN with the contents:

   INCLUDE SYSLIB(MYPROG1)

   INCLUDE SYSLIB(MYPROG2)

   ENTRY MYPROG1

   NAME MYPROG0(R)

Resolution:

.LIN files will only work for PL/I and Assembler.

However, there is a way to do the same thing in cobol, with use of CBLLINK.

There are alot of options which can be seen from typing CBLLINK into a Mainframe Express command prompt.

A basic command would be     CBLLINK PROG1.CBL PROG2.CBL

Old KB# 2565

#MFDS
#EnterpriseDeveloper