Claude 1st,
When you use pointer w/string, the pointer field always points to the position after the last field that was "strung". So, if you execute another string/pointer stmt to the same receiving field, or use it in a perform as Tom did, it puts the data in the receiving field beginning at that point in the field. Slick, huh?
Glad you weren't offended, I asked because "sait on jamais". I hope I spelled that right; I might have said "the chicken sings at midnight", for all I know.
Now Lars,
If you're talking about data in the MB range using MQ Series, I assume you are running under CICS and the data has to be written to a queue. The usual limit on writing data to external disk media is 32K, so I'm assuming you'll have to write the data in chunks of that size or less.
You'll have to get more specific for us to help. For example how does the UNIX app expect to see the data (i.e., where, organized how, what size chunks, etc).
Do your specs explain all this? If so, show us.
Thanx, Jack.