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


using redefine can you redefine lower variable size to
higher variable size?

Answers were Sorted based on User's Feedback



using redefine can you redefine lower variable size to higher variable size?..

Answer / santosh mahajan

Yes. Redefines just causes both fields to start at the same
location. For example:-

01 WS-XYZ PIC X(1).

01 WS-XYZ-R REDEFINES WS-XYZ PIC(2).

MOVE 11 TO WS-XYZ-R
DISPLAY WS-XYZ will show 1
DISPLAY WS-XYZ-R will show 11

Is This Answer Correct ?    10 Yes 2 No

using redefine can you redefine lower variable size to higher variable size?..

Answer / snehatechm

YES

Is This Answer Correct ?    5 Yes 1 No

using redefine can you redefine lower variable size to higher variable size?..

Answer / harikumr ch

Syn:Levelnumber dataname-1 redefines data-name-2

The data-name-1 & data-name-2 must be of same size.(From
level 02).Incase of 01 level, the size of data-name-1 must
not exceeds that of data-name-2.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More COBOL Interview Questions

Hi Guys, I have faced one interview question if I have requirement to add 5 new columns to existing table what are prerequisite do i need to take.

1 Answers  


subscript and index r not coded in u r application program what will happen?

2 Answers  


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

0 Answers   IBM,


where do u use low-value and high value in cobol

3 Answers   CGI,


Can we dynamically increase the size of occurs clause? i.e In case I an not sure of the size of array and want to increase the size at run time.If yes , how?

1 Answers  


How can we pass data from cobol to JCl?

7 Answers   ADP, Amdocs, IBM,


Write down the divisions of cobol program?

0 Answers  


Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.

3 Answers  


How arrays can be defined in COBOL?

0 Answers  


perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  


what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?

4 Answers   CSE, TCS, Wipro,


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

4 Answers  


Categories