Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference between REDEFINE and RENAME CLAUSE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
kvskris
Currently Banned

New User


Joined: 16 Sep 2006
Posts: 12

PostPosted: Tue Nov 14, 2006 9:28 am    Post subject: Difference between REDEFINE and RENAME CLAUSE
Reply with quote

hello everybody,

i want to know the difference between redefine and rename clause
can anybody help me.


radhae
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Nov 14, 2006 10:11 am    Post subject: Re: Difference between REDEFINE and RENAME CLAUSE
Reply with quote

http://ibmmainframes.com/viewtopic.php?t=1026
Back to top
View user's profile Send private message
sihanature
Warnings : 1

New User


Joined: 01 Sep 2005
Posts: 33

PostPosted: Tue Nov 14, 2006 4:49 pm    Post subject: Re: Difference between REDEFINE and RENAME CLAUSE
Reply with quote

Hi

Make a SEARCH in this Forum.

There are more info available on this.

For your Understanding i'm giving the answer in short.

REDEFINES: It allows the same area of memory to be referenced by more than one data item with different format(PIC Clause) and Size.

RENAMES: It allows same code to be copied multiple times with different names, and it is used for Re-grouping the elementary data items in a RECORD and which must be declared by using level number 66.

Redefines can use the any level no(0-49).



Regards,
Back to top
View user's profile Send private message
vijay_bn79

New User


Joined: 20 Nov 2006
Posts: 48
Location: Hyderabad

PostPosted: Mon Nov 20, 2006 6:54 pm    Post subject: Re: Difference between REDEFINE and RENAME CLAUSE
Reply with quote

kvskris wrote:
hello everybody,

i want to know the difference between redefine and rename clause
can anybody help me.


radhae



Hi..,

Redefine is a technique where same memory location can be referenced in different names and different formats also
we can redefine the char variable into integer variable or comp variable etc..

Rename is the grouping of the variables into a variable name
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts Finding difference between two PS fil... Vignesh Sid SYNCSORT 5 Mon Oct 30, 2017 1:13 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Easytrive Redefine vidyaa CA Products 4 Mon Jun 19, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us