Rational Developer for System z

Building a Windows DLL from COBOL source code using CICS TXSeries for Windows

You can build a DLL capable of running in a CICS® TXSeries for Windows region by using CICS TXSeries to translate EXEC CICS statements in your source code.

Your source code must be in a local project before you can build a Windows DLL.
To build a Windows DLL using CICS TXSeries for Windows, follow these steps:
  1. Open the Local COBOL Build Options Properties page.
  2. Type TEST,ADATA,EXIT(ADEXIT(FTTFDBKW)) in the Compile Options field.
  3. Type \CICS\INCLUDE in the SYSLIB field.
  4. Select Invoke preprocessor.
  5. Type CICSNT(-lIBMCOB) in the Preprocessor Options field.
  6. Click Apply.
  7. Click Local Link Options in the list on the left. The Local Link Options pane opens on the right.
  8. Select DLL.
  9. Type /de -IMP:cicsprIBMCOB.lib in the Link Options field.
  10. Click Apply.
  11. Click OK.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)