COMP?

Answer Posted / neeraj

comp,comp-4 both are same used for the binary
representation of the data fields.
Size of memory allocated will be based on
If 1-4 2 bytes
5-9 4 bytes
10-18 8 bytes

Pic clause is attached with COMP data types

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of SDLC u followed? Why?

1522


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1119


) what is the difference between AID and HANDLE AID?

1637


What is link edit in cobol?

774


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

826






Which mode is used to operate the sequential file?

671


What rules are to be followed while using the corresponding options?

641


What is the utilization of copybook in cobol?

657


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

710


How do you differentiate between cobol and cobol-ii?

658


What are the pertinent COBOL commands?

2626


What is static and dynamic call in cobol?

600


What is the difference between PIC 9.99 and PIC9v99?

783


Differentiate between structured cobol programming and object-oriented cobol programming.

669


what is difference between cobol and cobol/400

21570