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 is the use of outrecord?

1974


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1972


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9251


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

850


) how do u code after getting data?

1812


How do you reference the following file formats from cobol programs?

927


explain sorting techniques in cobol program?

907


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2237


How to print 10 to 1 if the input have only 10 digit number?

1041


What is comp-1 and comp-2?

948


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1995


What is the utilization of copybook in cobol?

894


what are decleratives in cobol?

2011


When is inspect verb is used in cobol?

930


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

918