what is a zoned decimal data type and how it will be stored?
Answer Posted / app
Zoned decimal is the numeric format used for display usage.
For an unsigned field the digits in the field are
represented by EBCDIC code (F0 thru F9).In a signed number
the zoned bit in the right mosted byte of the field are
either hex C for postive or hex D for negative.
eg:F0 F0 F1 F2 F3 unsigned 234
F0 F0 F1 F2 C3 signed +234
F0 F0 F1 F2 D3 signed -234
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
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.
How are the next sentence and continue different from each other?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is redefines clause in 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.
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the Purpose of Pointer in the string?
Have you used comp and comp-3 in your project? And how?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the difference between PIC 9.99 and 9v99 in COBOL?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are 77 levels used for?