View previous topic :: View next topic
|
Author |
Message |
Tnavaghare
New User
Joined: 19 May 2009 Posts: 2 Location: India
|
|
|
|
Hello All,
I have a requirement where I need to pass data from a table to SOLA
using CICS program.
the hurdle here is that the cics program will be invoked without any input from SOLA and then
the program should send the data.since the table has huge amount data i cant use DFHCOMMAREA (which
posseses the limitation of 32k)
To overcome this i have coded cics program using DOM API. but here also i am facing
the problem of 32k. (the no. of rows sent from table is just 79)
So is there any way by which i can overcome this problem of data size limitation and be
able to send atleast 1000 rows at time.
Any pointers on this will be of great help to me.
Thanks
Trupti |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
If your CICS version/release is TS 3.1 and greater, review CHANNELS and CONTAINERS.
Bill |
|
Back to top |
|
|
Tnavaghare
New User
Joined: 19 May 2009 Posts: 2 Location: India
|
|
|
|
Thanks Bill.
Could you plz let me know where can i find the material about the same. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Click below for IBM Book Manager -
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/library
Then, review the CICS/TS 3.1 (or greater) Application Programming Guide and Application Programming Reference.
If your version/release is less than TS 3.1, then this won't work as CONTAINERS and CHANNELS were introduced with TS 3.1.
Bill |
|
Back to top |
|
|
tomehta
New User
Joined: 18 Aug 2008 Posts: 98 Location: India
|
|
|
|
Hi Trupti
I had a similar issue using SOLA, and we used a work around to have a flag in the data sent thru DFHCOMMAREA, which tells there are more rows to be sent.
The front end application will call the SOLA service again till the flag is set. At .net or j2ee end , they can handle very well.
btw, which shop is using SOLA, I am just curious to know. And the version of SOLA which i worked was not supporting channels and containers.
thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I guess I'm slipping in my "twilight" years.
Take a look at EXTERNAL data in WORKING-STORAGE.
If you have two (or more) programs which are within a run-unit (a/k/a LUW or Transaction) and you define the EXTERNAL storage exactly the same in all programs (probably a copybook would be your best bet), then this storage is accessible by any of these programs.
EG:
Program "A" has the EXTERNAL storage defined and you LINK to Program "B", which also has this same storage defined, then they can both address this storage.
The EXTERNAL attribute was introduced with VS/COBOL II, some 25 years ago, so unless you have OS/VS COBOL, this should work for you.
Keep in mind that the storage is local to the executing region. Remote LINKS (DPL's) are excluded and you'll crash and burn if utilized.
Bill |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
I would consider using a different software product other than SOLA, there are many that do not have this limitation. |
|
Back to top |
|
|
|