Sending a report via EXCI to CICS program



Support for CICS/ESA, CICS/TS & Transaction Gateway, CICS Configuration Manager and CICS Performance Analyzer

Sending a report via EXCI to CICS program

Postby ctrevino » Mon Mar 15, 2010 10:21 pm

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?
Christy T.


Wherever you go, there you are - Buckaroo Banzai
ctrevino
 
Posts: 62
Joined: Tue Feb 23, 2010 1:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: Sending a report via EXCI to CICS program

 

Re: Sending a report via EXCI to CICS program

Postby Robert Sample » Mon Mar 15, 2010 10:45 pm

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.
Robert Sample
Global moderator
 
Posts: 3121
Joined: Sat Dec 19, 2009 8:32 pm
Location: Bellevue, Iowa
Has thanked: 1 time
Been thanked: 182 times

Re: Sending a report via EXCI to CICS program

Postby dick scherrer » Mon Mar 15, 2010 11:15 pm

Hello,

Might this be written to a database table and then processed by the cics code?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times

Re: Sending a report via EXCI to CICS program

Postby ctrevino » Mon Mar 15, 2010 11:40 pm

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
Christy T.


Wherever you go, there you are - Buckaroo Banzai
ctrevino
 
Posts: 62
Joined: Tue Feb 23, 2010 1:23 am
Has thanked: 0 time
Been thanked: 0 time

Re: Sending a report via EXCI to CICS program

Postby dick scherrer » Tue Mar 16, 2010 12:52 am

You are so smart.
Shucks :oops:

Kind words. . .

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

d
User avatar
dick scherrer
Global moderator
 
Posts: 6308
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 90 times


Return to CICS

 


  • Related topics
    Replies
    Views
    Last post