Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

maximum limit of array in pl1

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
krishna_mf

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Fri Jun 18, 2010 8:10 pm    Post subject: maximum limit of array in pl1
Reply with quote

Hi

I need to increase the size of array declared as below

dcl address(2000) char(15);

I need to increase the limit from 2000 to some maximum available limit.
Please let me know what is the maxium limit suppoted by EPLI
This is IMS PLI programm.

Thanks
Krishna
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Fri Jun 18, 2010 8:32 pm    Post subject:
Reply with quote

why is it that you feel we should look-up the info
in the manual
for you?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Jun 18, 2010 8:57 pm    Post subject:
Reply with quote

Hello,
Quote:

I need to increase the limit from 2000 to some maximum available limit.
Not likely a need. . . Is this just being lazy?

What business requirements dictates "a need for the maximum memory resource i can waste"?
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Fri Jun 18, 2010 11:53 pm    Post subject:
Reply with quote

And anyhow, not withstanding the previous replies - why not just try some values.

A binary search should be efficient.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 19, 2010 12:41 am    Post subject: Reply to: maximum limit of array in pl1
Reply with quote

Or one might look in the "limits" for the pl/i compiler (available via the "IBM Manuals" link at the top of the page). . .

I always cringe when someone believes it is proper to write code depending on maximums. . . It is often (usually) the worst possible implementation alternative. . . icon_sad.gif

d
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Sat Jun 19, 2010 12:42 am    Post subject:
Reply with quote

Dick -

What is your frequency of cringing?
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Sat Jun 19, 2010 12:44 am    Post subject: Reply to: maximum limit of array in pl1
Reply with quote

Well, i'm not yet seeking treatment. . .

Haven't yet been excused from any meetings. . .

icon_cool.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Limit CICS CPU resource vasanthz CICS 0 Tue Jan 31, 2017 7:09 am
No new posts Dynamic array request/response contai... Suja.Sai CICS 2 Tue Jan 24, 2017 11:37 am
No new posts Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts Unstring list of values into an array. Roshnii COBOL Programming 8 Mon Jun 27, 2016 6:25 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us