Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Easytrive Redefine vidyaa CA Products 4 Mon Jun 19, 2017 6:01 pm
No new posts Redefine SYS1.PROCLIB farhad_evan JCL & VSAM 12 Mon May 22, 2017 10:54 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us