Yes, I had the same wish,
But instead of 'unstring list delimited by "," into paramarray'
You should 'unstring list delimited by "," into param(1)
param(2) param(3), and so on..... to param(20)'
There may be better methods using a pointer clause, and 'on
overflow' exception within a perform varying.....
--
Mike.
On 05/31/2013 08:49 AM, Bruce M. Axtens wrote:
I get the impression that I'm going about this the wrong way.
I have a list of comma-delimited values:
01 list pic x(85)
value
"123,12345,1234567,987654321,10001,-10001,-123,-100,100,-12345,1,2,-1,-10,2002,-2002,0".
I have an array with enough room for each of the values and a
little left over:
01 paramarray.
03 param pic s9(9) occurs 20 times indexed by
paramitem.
I'm unstringing into the paramarray.
unstring list delimited by "," into
paramarray.
The first value goes in okay, but the rest is gobbledygook.
How should I approach this?
Kind regards,
Bruce.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
open-cobol-list mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/open-cobol-list
|