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
 

 

comp3

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sarath_ibm

New User


Joined: 03 Aug 2005
Posts: 14
Location: hyderabad

PostPosted: Thu Aug 04, 2005 1:53 pm    Post subject: comp3
Reply with quote

hi

why comp3 can store only maximum of 18byte?
Back to top
View user's profile Send private message

nallapureddy

New User


Joined: 27 Jul 2005
Posts: 18

PostPosted: Thu Aug 04, 2005 2:02 pm    Post subject:
Reply with quote

i guess it can store only a max of 10 bytes...............
Back to top
View user's profile Send private message
shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Thu Aug 04, 2005 2:19 pm    Post subject: Re: comp3
Reply with quote

Yes.. Its S9(18).. so 10 bytes only.

its cobol compiler specific. it varies depends.. for example compaq cobol has 31 max
Back to top
View user's profile Send private message
sarath_ibm

New User


Joined: 03 Aug 2005
Posts: 14
Location: hyderabad

PostPosted: Thu Aug 04, 2005 2:19 pm    Post subject: yes
Reply with quote

nallapureddy wrote:
i guess it can store only a max of 10 bytes...............


ya u r right it can store only 18character and takes 10bytes.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Conversion of negative amount (comp3)... dharmaraok COBOL Programming 9 Mon Feb 24, 2014 5:27 pm
No new posts Changing the precision of a comp3 field razesh84 DFSORT/ICETOOL 2 Tue Jan 08, 2013 3:06 pm
No new posts How to convert Numeric to Packed Deci... jackie.jay CLIST & REXX 8 Mon Oct 29, 2012 5:37 pm
No new posts Moving group varibale to COMP3 variable lakshmankumar COBOL Programming 3 Thu Jul 14, 2011 4:28 pm
No new posts Comp3 Move job1919 COBOL Programming 7 Thu Nov 11, 2010 6:53 pm


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