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 / ezhilenthi

It wont show any Abend, the main purpose of REDEFINES
clause is to use the same storage area with one or more
data item with different sizes and PIC 's. We will face
Abend if we try to MOVE WS-VARN TO WS-VAR.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a program that uses move corresponding.

1118


Explain how you can characterize tables in cobol?

1047


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

2451


Write a program to explain size error.

1180


How many sections are there in data division in COBOL?

1115


What rules are to be followed while using the corresponding options?

1051


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

2055


What is the difference between Call and a Link?

1177


Can you please let me know the centre name of INS certification in Kolkata.

2229


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1216


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1225


how do you reference the rrds file formats from cobol programs

1556


What is Pic 9v99 Indicates in COBOL?

1243


What is the compute verb? How is it used?

1121


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

1095