Answer Posted / kiran
Hi friends Both are correct and you can make use of them as
your reference.
Packed Decimal representation. Two digits are stored in
each byte. Last nibble is for
sign. (F for unsigned positive, C for signed positive and D
for signed negative)
Formula for Bytes: Integer ((n/2) + 1)) => n is number of
9s.
if you need more than 18 decimal digits, you must use COMP-
3 (or DISPLAY) as COMP variables cannot exceed 18 digits
while COMP-3 can be up to 31 digits.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Write the code to count the sum of n natural numbers.
What is static and dynamic call in cobol?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
Why did you choose to work with ibm mainframe cobol programming?
what is the difference between COBOL2 AND COBOL390?
What are literals?
Can you please let me know the centre name of INS certification in Kolkata.
In COBOL programming, what is PERFORM? What is VARYING?
Why occurs cannot be used in 01 level in COBOL?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
what is search and searchall?what is the diffrence between them?give an best example?
How do you get the data to code the BMS macro?