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

What is an in line perform? When would you use it? Anything else you wish to say about it.

1143


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2135


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

5428


What are declaratives and what are their uses in cobol?

1261


What type of SDLC u followed? Why?

2050


What is the problem of ordered sequential files access?

1208


How do define dynamic array in cobol.

1185


what are decleratives in cobol?

2311


What is length is cobol?

1156


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

2597


Explain what you understand by passing by value.

1203


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2536


What is the difference between external and global variables in COBOL?

1544


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2167


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

1199