Page 1 of 1

CEMT alternative to CECI LINK PROGRAM???

PostPosted: Thu Feb 16, 2012 10:36 pm
by xboss
I have to execute same program to 20 odd CICS regions. I know I can execute logging into 20 region each time and execute CECI LINK PROGRAM(PROGRAM-NAME). But I am looking for an alternative way through batch if possible. I can run CEMT command through CAFC batch job, so I was looking for CEMT command that would do exactly same as CECI LINK PROGRAM (if any). Also, looking at AFCP2021 manual, I didn't find CAFC has CECI API, I might be wrong here. My apology, one thing I did not look is if CAFC has its own way to execute program on CICS regions.

Re: CEMT alternative to CECI LINK PROGRAM???

PostPosted: Thu Feb 16, 2012 11:46 pm
by Robert Sample
Why not use
// F <CICS APPLID>,CECI EXEC LINK PROGRAM(....)
although the questions arise, why do you need to execute the same program in 20 regions? is this a one-off action or something that needs to be done daily / hourly / weekly / monthly or on some other schedule? If not a one-off, why not use the CICS facilities to execute the program? etc, etc, etc -- LOTS of questions.