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

Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


What is the difference between perform … with test after and perform … with test before?

885


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8168


What is the difference between external and global variables in COBOL?

815


Write some characteristics of cobol as means of business language.

621






What is redefines clause in COBOL?

851


Why would you use find and get rather than to obtain?

692


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

720


) How do u handle errors in BMS macro?

1429


how do you reference the fixed unblock file formats from cobol programs

712


how to move the records from file to array table. give with code example

2221


Explain what you understand by passing by value.

704


what is amode(24), amode(31), rmode(24) and rmode(any)?

705


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2100


how to convert the recors form vsam file to db2 table tru file aid

2763