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

What will happen if a variable is declared as below..
Explain with an example? Working storage section:-

01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'.
01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'.

What will happen I am going to Display the WS-VARX and WS-
VARN?

Answer Posted / khbnaidu

Mallikarjun Ur answer is wrong because of WS-VARN is Numric
field & how will display the ABCDE result?

Is This Answer Correct ?    2 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5375


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

1245


Difference between cobol and cobol-ii?

1282


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

2021


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1410


A table has two indexes defined. Which one will be used by the SEARCH?

1285


What are different data types in cobol?

1323


What is amode(24)?

1248


i want a program using by if, evaluate , string, unstring, perform, occurs?

4726


What is the difference between comp and comp-3?

1189


What is rmode(any) ?

1274


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

1299


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2592


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

1152


What is a SSRANGE and NOSSRANGE?

1474