IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Maximum allowed length of a PL1 variable.


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PL1user

New User


Joined: 26 Nov 2008
Posts: 13
Location: UK

PostPosted: Sat Nov 29, 2008 1:49 am
Reply with quote

Hi,

Can you please let me know the maximum length of a variable that is allowed in PL1?

Regards.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Nov 29, 2008 2:25 am
Reply with quote

I'm sure YOU know what you're asking. However, it's not clear on this end if you're talking about:
1. Length of a variable name in PL/1
2. Length of a numeric variable definition (which depends on the type)
3. Length of a string variable definition

For the latter two, check the Language Reference manual (link at the top of the page, Appendix A, Limits). The first can be found in the Programming Guide (link at the top of the page, Appendix A, Limits).
Back to top
View user's profile Send private message
PL1user

New User


Joined: 26 Nov 2008
Posts: 13
Location: UK

PostPosted: Sat Nov 29, 2008 2:28 am
Reply with quote

Hi Robert,

I meant the length allowed for a variable name.

Thanks, I would go through the documentation you pointed out.

Regards.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts VB to VB copy - Full length reached SYNCSORT 8
Search our Forums:

Back to Top