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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write down the divisions of cobol program?

1259


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1154


How do you get the data to code the BMS macro?

1976


What is difference between static and dynamic call in cobol?

1394


What are the cobol coding sheets?

1280


What is the difference between Global and External Variables?

1381


how do you reference the esds vsam file formats from cobol programs

1219


Can we change the password using ALTER? anyone tried and changed?

2021


How you can characterize tables in cobol?

1203


How to remove 2 duplicate records and copy only one using job control language?

1224


Mention the guidelines to write a structured cobol program?

1099


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

1116


What type of SDLC u followed? Why?

2000


What is a report item?

1146


Write a program to explain size error.

1204