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 / sachin borase

Use the varchar.

01 var-char-variable.

49 ws-letch s9(4) comp.
49 ws-text 9(20).

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro

2105


What are literals?

1183


What are the rules of the move verb?

1321


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

1193


What are various search techniques in cobol? Explain.

1111


what is search and searchall?what is the diffrence between them?give an best example?

6919


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2324


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

1266


) How do u handle errors in BMS macro?

2016


how do you reference the variable block file formats from cobol programs

1308


Discuss about changing dataset name in proc.

1291


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2186


What are the pertinent COBOL

2623


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1278


What the difference is between continue and next sentence?

1218