MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PL/1 - DELCARED x(32767) as array but passing 40780

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
SEKHAR
Beginner


Joined: 10 Nov 2003
Posts: 8
Topics: 4

PostPosted: Fri Apr 23, 2004 7:09 am    Post subject: PL/1 - DELCARED x(32767) as array but passing 40780 Reply with quote

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
View user's profile Send private message Yahoo Messenger
Mervyn
Moderator


Joined: 02 Dec 2002
Posts: 415
Topics: 6
Location: Hove, England

PostPosted: Sun Apr 25, 2004 2:25 pm    Post subject: Reply with quote

Sekhar, I think you need to read about ON conditions here: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/C2714602/16.2?DT=20020917160741

You'll find that SUBSCRIPTRANGE is disabled by default: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/C2714602/17.20?DT=20020917160741

You should just need to enable it.
_________________
The day you stop learning the dinosaur becomes extinct
Back to top
View user's profile Send private message
SEKHAR
Beginner


Joined: 10 Nov 2003
Posts: 8
Topics: 4

PostPosted: Mon Apr 26, 2004 11:06 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group