IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Rename & Redefines


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srk.neeraj

New User


Joined: 09 Feb 2011
Posts: 4
Location: Bangalore

PostPosted: Mon Feb 14, 2011 6:06 pm
Reply with quote

Could somebody please help me how to differentiate exactly between the Renames and Redefines ?

Waiting............................

Regards
Neeraj Kumar
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Feb 14, 2011 6:13 pm
Reply with quote

1. The level number for RENAMES will be 66, whereas REDEFINES level numbers will NOT be 66.

2. There is a difference in the COBOL -- RENAMES and REDEFINES are not spelled the same.

3. If you want to differentiate between them in some way other than the source code for the program, you will need to specify exactly what you are looking for.

If you are asking this type of question, you might do better on the Beginners & Students forum, www.ibmmainframeforum.com instead of here.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 1042
Location: Richmond, Virginia

PostPosted: Mon Feb 14, 2011 8:19 pm
Reply with quote

I have never seen a RENAME in a production program.

Has anyone?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Feb 14, 2011 10:45 pm
Reply with quote

Quote:

Waiting............................



For what?
Back to top
View user's profile Send private message
srk.neeraj

New User


Joined: 09 Feb 2011
Posts: 4
Location: Bangalore

PostPosted: Tue Feb 15, 2011 8:00 am
Reply with quote

Thank you all for the positive response.Now I understand it.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Mar 02, 2011 5:48 pm
Reply with quote

Phrzby Phil wrote:
I have never seen a RENAME in a production program.

Has anyone?
Yeah, there are couple of programs at this current shop using RENAMES. And these programs are not so old - were written in 2005.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Cobol redefines for Signed pictured c... COBOL Programming 4
No new posts Rename dasd IBM Tools 11
No new posts Error during restore rename All Other Mainframe Topics 2
No new posts Generic rename by pattern‏ CLIST & REXX 6
No new posts IEHPROGM - HOW TO RENAME A PDS ? IBM Tools 7
Search our Forums:

Back to Top