s9(18) comp-3:: What is the size of memory it takes
internally?
Answers were Sorted based on User's Feedback
Answer / shaan
Well since comp-3 items are packed decimal items,2 digits
will be stored in each byte and the last nibble(4 bits) will
contain the sign.
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / vinodquestion
Thanks shaan, And what is for sigh decimal numbers
representation for same comp 3? i.e internal representation
of signed decimal number
Is This Answer Correct ? | 0 Yes | 1 No |
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
how to resolve the file status 47.......
what is the maximum error code in mainframe
A table has two indexes defined. Which one will be used by the SEARCH?
What is the difference between PIC 9.99 and PIC9v99?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
Hi All, how is sign is stored in S9(17) comp-3 variable. Answer with an Example will be of great help.
BY seeing a program how can we say that it is static call or dynamic call
i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?
Can we MOVE X(9) to 9(9) OR 9(9) to X(9)? If yes what are the ways for doing this?
12 Answers T systems, Tech Mahindra,
how to code in cobol while using variable block file?
When and how can we use index & subscript ?