Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
What is exact diff and adv btw Comp parameters

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
MOHAN KUMAR DURAIRAJAN

New User


Joined: 16 Apr 2012
Posts: 11
Location: INDIA

PostPosted: Thu Mar 14, 2013 4:39 pm    Post subject: What is exact diff and adv btw Comp parameters
Reply with quote

1. Can anyone say the exact difference between Comp paraments
2. In what way one and another differes.
3. Which comp is better one
COMP
COMP-2
COMP-3
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


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

PostPosted: Thu Mar 14, 2013 4:52 pm    Post subject:
Reply with quote

1. RTFM. There is a link to the Language Reference manual at the top of this page, and the various options of COMP are thoroughly explained in the mainual.

2. RTFM.

3. "Better" is a subjective term. If you need to do floating point arithmetic, then COMP would be a really bad choice. If you are writing values to a file and they must be human-readable, NONE of the COMP formats would be a good choice. So the answer to this question is that it depends.

You need to leave this forum, which is for professionals, and go to the Beginners and Students Forum which is MUCH more suited for this type of question.

Whether or not you know it, this topic is a duplicate of your other one. This one is locked.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S9(11)V9(02) to S9(9)V9(2) COMP-3 sprikitik SYNCSORT 2 Tue Oct 23, 2018 6:19 pm
No new posts Comp interview questions Deepak1518780 Mainframe Interview Questions 5 Sat Sep 22, 2018 7:26 pm
No new posts Replace comp-3 field value to comp-3 ... dharmaraok DFSORT/ICETOOL 5 Fri Sep 14, 2018 3:46 pm
No new posts What does parameters mean in PL/I? jackzhang75 PL/I & Assembler 6 Thu Aug 30, 2018 8:36 pm
No new posts Generate SQL query dynamically using ... vnktrrd DB2 7 Tue Aug 28, 2018 8:11 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us