How is sign stored in Packed Decimal fields and Zoned
Decimal fields?
Answer Posted / pradeep
For a Packed decimal:
(a) positive value is stored as,
0653
000F
Here, the value 'F' specifies its a +ve value. Also, 'C' is
also used to store +ve values.
(b) negative value is stored with 'D' instead of 'F'
| Is This Answer Correct ? | 10 Yes | 7 No |
Post New Answer View All Answers
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What do you understand by psb and acb?
What are different data types in cobol?
What is static and dynamic call in cobol?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
what are decleratives in cobol?
Which mode is used to operate the sequential file?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is the LINKAGE SECTION used in COBOL?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How do get the result of your program directly on your pc?
What is amode(24)?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is cobol?