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(9) VALUE SPACES.
01 WS-VARN REDEFINES WS-VARX PIC 9(9).

Answer Posted / anna

WORKING-STORAGE SECTION.
01 WS-VARX PIC X(9) VALUE SPACE.
01 WS-VARN REDEFINES WS-VARX PIC 9(9) value zeros.
in this case you can used any data, by using right
field for numeric data ws-varN, for alphabetic /alphanumeric
ws--varX.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to print 10 to 1 if the input have only 10 digit number?

1235


What are the different rules of SORT operation?

1099


What are the cobol coding sheets?

1204


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

1249


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1106


) what is the difference between AID and HANDLE AID?

2112


) how do u code after getting data?

2106


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

2106


What do you understand by psb and acb?

1081


What is the difference between goback, stop run and exit program in cobol?

1545


i need a small 3d program using inline and outline.

2182


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

2313


Why would you use find and get rather than to obtain?

1152


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1266


what happens if parmparameter passes zero bytes to the program

2099