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

Maximum size that can be Stored in COMP-3 data item


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sunil

New User


Joined: 19 Feb 2005
Posts: 1
Location: bangalore

PostPosted: Fri Mar 18, 2005 6:27 pm
Reply with quote

Hi
i need information on the Comp3 data item .

is ist possible to have a data item like S9(19) comp3

What is the maximum size we can store in comp3 dataitem

please let me know i have searched in Roy and dastidar i have not find any information

Regards &thanks
sunil
Back to top
View user's profile Send private message
sunnyk

New User


Joined: 20 Oct 2004
Posts: 59

PostPosted: Fri Mar 18, 2005 6:46 pm
Reply with quote

u can`t define more than s9(18) comp-3.

regds
sunny
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Sun Mar 20, 2005 9:23 pm
Reply with quote

Quote:
Hi
i need information on the Comp3 data item .

is ist possible to have a data item like S9(19) comp3

please let me know i have searched in Roy and dastidar i have not find any information


HI
It is not possible to use a Numeric data having length more then 18.So you cannot use S9(19).

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

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Mar 20, 2005 10:32 pm
Reply with quote

With the later versions of COBOL (beyond COBOLII) the ARITH(EXTEND) compiler option expands the limit to 32 digits.
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Mon Mar 21, 2005 8:08 pm
Reply with quote

HI jack
Thanks for your updated information.hope you will continue with this,
By which we will benifited.

Thanks[/quote]
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top