Thank you very much, Jack.
Your first suggestion made it to the end, i.e. creating a large string and then use the pointer option, it really helped me.
It has been a developing process for a novice Cobol programmer like me.
Thanks, Lars.
Hello,
I'm running in Batch, not under CICS.
The string is handed over to the MQ where it is regarded as an MQ record in itself, not a flat file.
Then the MQ sends it to a receiving MQ on the Unix system.
I've heard that as a rule of thumb 1 MB is the upper limit when it comes to MQ.
My...
As long as it doesn't mean "pants off"!!!
Now we get technical and my skills get worse. I've just been working with this for 1½ weeks.
I provide you with some words and hope you can make up something of it: MVS, mainframe, OS/390, db2.
The string internally resembles an XML document...
Hi there.
My mind did set out in that direction, but the problem is that I may read multiple records, and I don't know how many. Perhaps I should start out by writing some routine that finds out how many records to read and then calculates the size.
I guess I have some thinking to do.
Thanks anyway.
Is it possible to build a string dynamically? Meaning that you don't know the length of the string until it has been built. I need to read data in a database and format this data into a string, but on beforehand I don't know the amount of data.
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.