hi. This is Ram.i have one doubt.why can't we display comp-3
variables directly? let me answer quickly plez........



hi. This is Ram.i have one doubt.why can't we display comp-3 variables directly? let me answe..

Answer / yuvaevergreen

Hi ram,
Comp-3 variables are generally used for high storage
efficiency. They are stored in packed decimal format
internally.So, display is possible only when the packed
decimal item is moved to a numeric edited item.

Is This Answer Correct ?    21 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is the reference modification.

2 Answers  


can i use multiple when statements in search & search all ? justify ur answer?

2 Answers  


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

0 Answers  


what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid

4 Answers   TCS,






What is ASKTIME, SUSPEND

1 Answers   IBM,


What is the maximum data length for Numeric DataType ?

3 Answers   Cap Gemini,


What are the divisions in a cobol program?

1 Answers  


In an array processing what is the thing that can be done by using subscripts but not by using index

4 Answers   JPMorgan Chase,


how you read control card into array?

3 Answers   HCL,


How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.

1 Answers  


How To move a value to an array using move verb?

3 Answers   IBM,


Categories