COMP field occupy ?

Answer Posted / prakash shrivastava

comp is a binary storage format.....

0-4 2 bytes-1/2 word



comp is binary storage format...

it occupy--
0-4 2 bytes-1/2 word
5-9 4 bytes-1 word
10-18 8 bytes-2 word

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What rules are followed by the search verb.

629


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

704


When is inspect verb is used in cobol?

669


Have you used comp and comp-3 in your project? And how?

2003






If you are current on the owner of a set, what is the difference between obtain next and obtain first?

634


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10551


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

734


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

668


What is amode(31)

714


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


Give some examples of command terminators?

749


Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2323


What is the difference between goback, stop run and exit program in cobol?

914


What is length is cobol?

641