Page 1 of 1

compiling and link-editing CICS-C program

PostPosted: Thu Nov 06, 2014 11:12 am
by vijay40
Hello,

I have made a simple CICS-C program whose code is shown below. I am completely new to mainframes and don't know what I have to write in JCL to compile the program and make an executable load module. Also if there are additional steps I need to do, please specify them. Thank You.

#include <stdio.h>

int main()
{
    char Hello[]="Hello world!";
    EXEC CICS SEND FROM(Hello) LENGTH(12) ERASE;
    EXEC CICS RETURN;
}