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

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

1283


) How do u handle errors in BMS macro?

1903


What are the various section in data division and briefly explain them.

1107


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

1088


What are the different data types in cobol?

1317


Mention the guidelines to write a structured cobol program?

1025


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?

1260


how to convert the recors form vsam file to db2 table tru file aid

3207


Write the code implementing the perform … varying.

1008


What is the compute verb? How is it used?

1074


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

6655


How many bytes S(8) comp field occupy and its maximum value?

2083


explain sorting techniques in cobol program?

1141


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1185


HOw can I get the negative sign while deduct high value from low value

2210