Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 ?    42 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

how will u pass dadta to cobol+db2 program...?

4 Answers   IBM,


I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?

1 Answers  


What is cobol?

0 Answers  


how to transfer the file from pc to mainframe??

2 Answers  


01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?

6 Answers   Patni,


how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas

3 Answers   IBM,


Suppose a program has the following code. What will be the output? MAIN-PARA. DISPLAY 'MAIN-PARA' PERFORM SECTION-A. STOP RUN. SECTION-A. PARA-A1. DISPLAY 'SECTION A PARA A1'. PARA-A2. DISPLAY 'SECTION A PARA A2'.

4 Answers  


I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??

2 Answers   HCL,


01 x pic s9(8) comp. How will the following value be internally allocated '18787'

4 Answers   Steria,


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

0 Answers  


how to access vsam files in cobol and how to differentiate that this is ESDS file

1 Answers   EDS,


Re: 01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.

2 Answers   IBM,


Categories