What is the maximum length of a field you can define using
COMP-3?

Answers were Sorted based on User's Feedback



What is the maximum length of a field you can define using COMP-3?..

Answer / elite group

S9(18) Comp-3

Is This Answer Correct ?    41 Yes 9 No

What is the maximum length of a field you can define using COMP-3?..

Answer / smita padhy

The maximum length of a computational item is 18 decimal
digits, except
for a PACKED-DECIMAL item. If the ARITH(COMPAT) compiler
option is in
effect, then the maximum length of a PACKED-DECIMAL item is
18 decimal
digits. If the ARITH(EXTEND) compiler option is in effect,
then the
maximum length of a PACKED-DECIMAL item is 31 decimal
digits.

Is This Answer Correct ?    11 Yes 3 No

What is the maximum length of a field you can define using COMP-3?..

Answer / nihar ranjan karan

If you use the compiler option ARITH(EXTEND) then you can
have a maximum of 31 digits.

Look up the compiler option ARITH in manual... you will get
some more info also...

Is This Answer Correct ?    9 Yes 3 No

What is the maximum length of a field you can define using COMP-3?..

Answer / vivek ar

The first answr is correct .It is indeeed 10

Is This Answer Correct ?    5 Yes 3 No

Post New Answer

More COBOL Interview Questions

Can we change the password using ALTER? anyone tried and changed?

0 Answers   IBM,


WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?

4 Answers   iGate,


How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?

4 Answers  


what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

2 Answers   BirlaSoft,


We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.

1 Answers  






what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

0 Answers   Cap Gemini,


what is subscript in cobol?give realtime example?

2 Answers   Wipro,


how will u find out 3rd week's 2nd day using occurs ?

3 Answers   L&T,


what is rediffine clause?in what situation it can use?give me real time example?

1 Answers   IBM,


How to define a array dynamically.....

5 Answers   Fidelity,


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

0 Answers  


Categories