View previous topic :: View next topic
|
Author |
Message |
manjithota
New User
Joined: 09 Jun 2005 Posts: 10
|
|
|
|
could somebody tell me how to pass a big table/array to a subprogram using
cobol calls or any other method also will do. |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
Make your array/table as a Group variable and now you can pass the group item.
Code: |
01 A.
02 A1 OCCURS....
CALL X USING A. |
|
|
Back to top |
|
|
manjithota
New User
Joined: 09 Jun 2005 Posts: 10
|
|
|
|
but then priya, r u quite sure about it. |
|
Back to top |
|
|
sudheer648
New User
Joined: 23 May 2005 Posts: 97 Location: Chennai
|
|
|
|
Hi manjithota,
priya is right.That is way how you pass the array to a sub-program by call statement.
Comments are welcome |
|
Back to top |
|
|
|