Skip to main content

Problem:

Mainframe Express flags the following LINK statement pointing to the APPLID and RETCODE parameters:    

           EXEC CICS LINK PROGRAM (WS-LINK-PGM)

                     APPLID       ('INMTCICS')

                     COMMAREA     (CSDPS090-DATA)

                     LENGTH       (10)

                     DATALENGTH   (10)

                     RETCODE      (WS-LINKRC)

                     SYNCONRETURN

           END-EXEC

Resolution:

This will compile cleanly in Mainframe Express if one uses the MFCICS preprocessor directive of cicsecm(exci=yes). Set this via the Build Settings>Cobol tab>PreProc tab,

'use additional preprocessor and directives' bar.

Old KB# 2540

#MFDS
#EnterpriseDeveloper