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 is the difference between goback, stop run and exit program in cobol?

1572


In COBOL, what is the different between index and subscript?

1223


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1103


Discuss about changing dataset name in proc.

1214


what is amode(24), amode(31), rmode(24) and rmode(any)?

1130


What is the difference between PIC 9.99 and 9v99 in COBOL?

1307


Explain about different table spaces.

1079


How do get the result of your program directly on your pc?

2326


Write a program to enter and display the names of students in a class using the occurs clause.

1188


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

1068


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

852


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1205


What are the cobol coding sheets?

1243


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

1988


What are the different open modes available in cobol?

1174