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

diffrence between renames and redifnes with examples

Answer Posted / khasim

We can regroup using RENAMES.

02 MM PIC X(2).
02 DD PIC X(2).
02 YY PIC X(2).
66 DATE RENAMES DD TRRU YY.

We can devide an Element to multiple elements using
REDEFINES.

02 DATE1 X(6).
02 DATE2 REDEFINES DATE1.
05 MM PIC X(2).
05 DD PIC X(2).
05 YY PIC X(2).

This is main defference.
Remaining things all know.

Is This Answer Correct ?    16 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1101


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

2072


example for sub strings ? and refernce modifications whit output pls

2315


) How do u handle errors in BMS macro?

1951


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.

1561


Can we redefine the field of x(200) to less than 200?

1362


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1224


What is the difference between Call and a Link?

1188


how to access the file from prodution from changeman tool and to submit a file to production

7533


What rules are followed by the search verb.

1102


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6575


what is search and searchall?what is the diffrence between them?give an best example?

6798


What are the various section in data division and briefly explain them.

1163


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2126


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17869