How is sign stored in a COMP field ?

Answer Posted / dimpy17

for negative value,2;s compliment is taken.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the code implementing the perform … varying.

648


What are declaratives and what are their uses in cobol?

716


What is the difference between a binary search and a sequential search what are the pertinent cobol?

745


Define static linking and dynamic linking.

675


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.

2021






For rewrite, why is it mandatory that file needs to be opened?

627


What is the problem of ordered sequential files access?

708


Explain the configuration section of a cobol program with examples of syntax.

666


How you can read the file from bottom?

667


How do you differentiate between cobol and cobol-ii?

662


Which Search verb is equivalent to PERFORM…VARYING?

694


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1964


how do you reference the esds vsam file formats from cobol programs

644


How do get the result of your program directly on your pc?

1891


What are the different rules of SORT operation?

704