To compile and link a CICS® Foundation Class program you need access to the following:
Your C++ program source code needs #include statements for the Foundation Class headers and the Foundation Class main() program stub:
#include "icceh.hpp"
#include "iccmain.hpp"
Note that, when using the Foundation Classes, you do not need to translate the "EXEC CICS" API so the translator program should not be used.
The following sample job statements show how to compile, prelink and link a program called ICC$HEL:
//ICC$HEL JOB 1,user_name,MSGCLASS=A,CLASS=A,NOTIFY=userid
//PROCLIB JCLLIB ORDER=(CICSTS31.CICS.SDFHPROC)
//ICC$HEL EXEC ICCFCCL,INFILE=indatasetname(ICC$HEL),OUTFILE=outdatasetname(ICC$HEL)
//
[[ Contents Previous Page | Next Page Index ]]