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

Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1080


Which division and paragraphs are mandatory for a COBOL program?

1218


What is rmode(24)

1112


What is rmode(any) ?

1209


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

1394


Write a cobol program making use of the redefine clause.

1136


Which mode is used to operate the sequential file?

1164


How do you reference the fixed block file formats from cobol programs

1182


How arrays can be defined in COBOL?

1160


Write a program to enter and display the names of students in a class using the occurs clause.

1168


Write down the divisions of cobol program?

1184


What are the different rules to perform a Search?

1059


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1306


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

2205


What is the difference between comp and comp-3?

1144