Page 1 of 1

Sending a report via EXCI to CICS program

PostPosted: Mon Mar 15, 2010 10:21 pm
by ctrevino
Here is my problem (no code written yet so it is open):

I have a report created in a batch program and I want to connect to CICS using EXCI to send the report to a CICS program. This CICS program is going to send it on to an Atom Publishing protocol.

I have been told in my shop that this is going to be difficult because we are limited to the commarea in order to send the report. Some of these reports will exceed 6400 bytes in total size and we use 6400 bytes as the standard commarea across our system.

What is the best way to handle this? Any ideas?

Re: Sending a report via EXCI to CICS program

PostPosted: Mon Mar 15, 2010 10:45 pm
by Robert Sample
The 6400 bytes is a site specification, so you'll probably need to get with your site support group. IBM states that CICS DFHCOMMAREA can be up to 32763 bytes, although they recommend limiting it to no more than 24576 bytes. So there is no inherent CICS limitation to handling the data via DFHCOMMAREA (unless you get over 24K, of course).

You might consider writing each line to a VSAM file and processing the printing from the VSAM file. It is difficult to say much without knowing more about the system design.

Re: Sending a report via EXCI to CICS program

PostPosted: Mon Mar 15, 2010 11:15 pm
by dick scherrer
Hello,

Might this be written to a database table and then processed by the cics code?

Re: Sending a report via EXCI to CICS program

PostPosted: Mon Mar 15, 2010 11:40 pm
by ctrevino
You are so smart. I was just brainstorming with a couple others here and decided that the best way would be to load it up into a DB2 table and then just pass the key info to the CICS program. (although the boss is leaning toward writing a java routine since the http support is more robust). Still it looks like this method is the way to go. Now I need to go back to my proof of concept program and retrofit from flat file to db2 rows. DBA here I come (gotta go beg for the db2 table now). :D

Re: Sending a report via EXCI to CICS program

PostPosted: Tue Mar 16, 2010 12:52 am
by dick scherrer
You are so smart.
Shucks :oops:

Kind words. . .

Been ridden hard for many miles (and still remember) . . . :)

d