Page 2 of 3

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 1:12 pm
by Deepak kumar25
COMP-3 REQUIRES LESS STORAGE SPACE.
BECAUSE COMP-3 IS PACKED DECIMAL.
packed decimal is a method used in computing to store more in less space.
characters are stored in binary in their ascii representation.
ex: 1 = ascii(49)decimal
we can store two numbers(only numbers) in the same space.
example:
ascii 49=number 4 and 9





practice makes man perfect:
Deepak kumar
mainframe trainer(applied labs)
india.

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 1:46 pm
by prino
A mainframe trainer who thinks mainframes uses ASCII. Pity your students...

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 1:53 pm
by Deepak kumar25
prino,
u does not understand the core logic.

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 1:58 pm
by Deepak kumar25
i does not say mainframe stores in ascii value.
i want to say that it stores each digit held in binary form in a nibble



Deepak kumar
mf trainer

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 2:00 pm
by Deepak kumar25
i say it change 49 to binary.
means:
ascii value of 1 is 49 and 49 is changed to binary and then stores in mf



mf trainer

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 2:06 pm
by enrico-sorichetti
no it is You that do not / are unwilling to understand

in IT using the proper terminology is essential for good communication!
Your poor understanding of proper MAINFRAME terminology
throws serious doubts on the quality of the training You give

when talking about MAINFRAME You can talk about EBCDIC/char representations and HEX values

the ascii word has very little place in the MAINFRAME world
and certainly none in MF training :mrgreen:

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 2:07 pm
by BillyBoyo
Deepak kumar25 wrote:COMP-3 REQUIRES LESS STORAGE SPACE.
BECAUSE COMP-3 IS PACKED DECIMAL.
packed decimal is a method used in computing to store more in less space.
characters are stored in binary in their ascii representation.
ex: 1 = ascii(49)decimal
we can store two numbers(only numbers) in the same space.
example:
ascii 49=number 4 and 9





practice makes man perfect:
Deepak kumar
mainframe trainer(applied labs)
india.



This is just rubbish. Even taking the language barrier into account.

Prino makes the point about ASCII, which you deny and then continue to bring it into the conversation.

It is clear that you do not know how data is stored or described on a mainframe. You don't know the difference between decimal, hexadecimal, binary, ASCII or EBCDIC.

If I were you, wanting to "advertise" yourself or your company, I'd keep quiet about things I knew just enough about to be completely wrong about them. Any "trainees" going through your hands should get a full refund and payments for "damages".

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 2:21 pm
by Deepak kumar25
BillyBoyo wrote:
Deepak kumar25 wrote:COMP-3 REQUIRES LESS STORAGE SPACE.
BECAUSE COMP-3 IS PACKED DECIMAL.
packed decimal is a method used in computing to store more in less space.
characters are stored in binary in their ascii representation.
ex: 1 = ascii(49)decimal
we can store two numbers(only numbers) in the same space.
example:
ascii 49=number 4 and 9





practice makes man perfect:
Deepak kumar
mainframe trainer(applied labs)
india.



This is just rubbish. Even taking the language barrier into account.

Prino makes the point about ASCII, which you deny and then continue to bring it into the conversation.

It is clear that you do not know how data is stored or described on a mainframe. You don't know the difference between decimal, hexadecimal, binary, ASCII or EBCDIC.

If I were you, wanting to "advertise" yourself or your company, I'd keep quiet about things I knew just enough about to be completely wrong about them. Any "trainees" going through your hands should get a full refund and payments for "damages".

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 2:24 pm
by BillyBoyo
Re: COMP OR COMP-3: WHICH IS FASTER?


Note the actual question in the Subject.

The "answer" provided?
COMP-3 REQUIRES LESS STORAGE SPACE


Is this true? COMP PIC 9(9) requires four bytes.

COMP-3 PIC 9(9) requires five bytes.

So, no, not true (at least no complete) and not relevant to the question.

characters are stored in binary in their ascii representation


So, what about thigs which aren't "characters", how they they stored?

What does "in binary in their ascii representation" even begin to mean?

And what does this mean:

ex: 1 = ascii(49)decimal
we can store two numbers(only numbers) in the same space.
example:
ascii 49=number 4 and 9


You'd almost think that you meant to store the number one, but got two other numbers instead.

Plain rubbish from start to finish.

Re: COMP OR COMP-3: WHICH IS FASTER?

PostPosted: Sun Apr 22, 2012 2:28 pm
by Deepak kumar25
HOW DATA IS INTERNALLY STORED USING PACKED DECIMAL??