View previous topic :: View next topic |
Author |
Message |
SEKHAR Beginner
Joined: 10 Nov 2003 Posts: 8 Topics: 4
|
Posted: Fri Apr 23, 2004 7:09 am Post subject: PL/1 - DELCARED x(32767) as array but passing 40780 |
|
|
Hi,
We delcared one vairable as
DCL X(32767) BASED Y CHAR(1).
DCL Z BIN FIXED(31).
Z = 40780
Z1 = ADDR(X(Z));
In my case the above piece of working fine. But i am not able to understand how it is working because we declareD X(32767). |
|
Back to top |
|
|
Mervyn Moderator
Joined: 02 Dec 2002 Posts: 415 Topics: 6 Location: Hove, England
|
|
Back to top |
|
|
SEKHAR Beginner
Joined: 10 Nov 2003 Posts: 8 Topics: 4
|
Posted: Mon Apr 26, 2004 11:06 pm Post subject: |
|
|
Hi merv, Thanks a lot for your info.
In our pograms they are not enabling SUBSCRIPTRANGE, because of that it is automatically allocating memory and we are not getting any abend.
Thanks again,
raja |
|
Back to top |
|
|
|
|