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

What is cobol?

1244


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9110


Mention the guidelines to write a structured cobol program?

1101


What are the different data types in cobol?

1454


What type of SDLC u followed? Why?

2002


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2554


Difference between cobol and cobol-ii?

1285


What are the rules of the move verb?

1273


How are the next sentence and continue different from each other?

1302


In COBOL programming, what is PERFORM? What is VARYING?

1153


Differentiate between structured cobol programming and object-oriented cobol programming.

1161


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

2259


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1216


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

1250


Write the code to count the sum of n natural numbers.

1214