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

How many bytes S(8) comp field occupy and its maximum value?

2084


Write a program that uses move corresponding.

1071


How do you differentiate between cobol and cobol-ii?

1125


What guidelines should be followed to write a structured cobol prgm?

1088


What is a scope terminator give example?

1049


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

1948


Can a Search can be done on a table with or without Index?

1230


A table has two indexes defined. Which one will be used by the SEARCH?

1229


I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.

1509


What are the pertinent COBOL commands?

3102


how do you define single dimensional array and multidimensional array in your cobol?

1044


What is Pic 9v99 Indicates in COBOL?

1176


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2387


What is report-item in COBOL?

1090


What rules are followed by the search verb.

1044