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
how do you define single dimensional array and multidimensional array in your cobol?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is a SSRANGE and NOSSRANGE?
How do we get current date from system with century in COBOL?
Give some examples of command terminators?
What is the Purpose of Pointer in the string?
Write the code to count the sum of n natural numbers.
What are the different open modes available in cobol?
What is the difference between comp and comp-3 usage?
Explain how you can characterize tables in cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
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?
In COBOL programming, what is PERFORM? What is VARYING?
Define static linking and dynamic linking.