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...

How to define variable 9(20) in COBOL, because compiler
does not allow us to declare variables with Pic 9(18). Can
anyone please let me know the answer... I know one answer
to this question which is to use Compiler option Arith
(Extend) during Compilation. It extends the maximum limit
to 9(32)..Just wanted to know if there is any other way to
extend this?

Answer Posted / vikram

01 VAR-1 PIC 9(18).
change the datatype then it's possible

01 VAR-1 PIC x(20).

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of error is trapped by on size error option?

1258


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1268


Which mode is used to operate the sequential file?

1218


How do we get current date from system with century in COBOL?

1393


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1336


What are the different open modes available in cobol?

1207


how do you reference the ksds vsam file formats from cobol programs

1203


What is amode(31)

1183


What is a scope terminator give example?

1126


What is the use of intialize verb?

1272


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1092


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1372


What are the different rules of SORT operation?

1154


What is cobol?

1253


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

1219