View previous topic :: View next topic |
Author |
Message |
coolguy Beginner

Joined: 01 Dec 2004 Posts: 82 Topics: 28
|
Posted: Mon Apr 09, 2007 6:13 am Post subject: Passing arrays thru Linkage |
|
|
Hi All
I have doubt in Arrays
In my program I have 2 arrays (2 dimensional)
Array Info (4, 49)
Array Amts (51, 49)
Both are different attributes
Can I pass this array value to my sub program? Is their any Limitations are there to pass 2 arrays? pls help in that
Cool |
|
Back to top |
|
 |
vkphani Intermediate

Joined: 05 Sep 2003 Posts: 483 Topics: 48
|
Posted: Mon Apr 09, 2007 7:40 am Post subject: |
|
|
Yes you can pass the array value to the sub program but I think the max size is 32k.
05 A pic x(100).
05 array redefines A.
10 array-entry occurs 50 times pic x(002).
call 'subpgm' using A
or
call 'subpgm' using array |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Mon Apr 09, 2007 9:21 am Post subject: |
|
|
what programming language? though it does not matter, you can CALL with arrays (tables) in any language. I assume you are not talking COBOL since your are talking arrays. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
|
|