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.
Rational® Developer
for System z® does not support
local COBOL or PL/I builds or TXSeries on the Linux platform.
To build a Windows DLL
using CICS TXSeries for Windows, follow these steps:
- Open the Local PL/I Build Options Properties
page.
- Type TEST,DLLINIT,SYSTEM(CICS) in the Compile
Options field.
- Type \CICS\INCLUDE in the SYSLIB field.
- Select Invoke preprocessor.
- Type MACRO,CICS('SUBSYS(CICSTNT)' edf,debug,source,
print) MACRO in the Preprocessor Options field.
- Click Apply.
- Click Local Link Options in the
list on the left. The Local Link Options pane opens
on the right.
- Select DLL.
- Type /geni:.def in the Library
Options field.
- Type /de /dll /out:.dll .exp ibmws20i.lib hepws20i.lib
cicsprIBMPLI.lib in the Link Options field.
- Click Apply.
- Click OK.