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

renames


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

New User


Joined: 30 Mar 2004
Posts: 8

PostPosted: Wed Mar 31, 2004 3:42 pm
Reply with quote

can we use renamed data item in arithmetic operations icon_question.gif
Back to top
View user's profile Send private message
mvs_butta

New User


Joined: 23 Dec 2003
Posts: 13

PostPosted: Thu Apr 01, 2004 9:32 am
Reply with quote

Yes you can ,when it renames only a single numeic elementay vaiiable.

Code:
id-1 renames id-2 thru id-3
     
   when id-3 is specified id-1 is treated as goup item.
   when id-3 is not specified id-1 will acquire all th attributes of id-2
   if id-2 is a group item id-1 will be group item
   if id-2 is elemetary item id-1 will be elementary item
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 Is this RENAMES code valid? COBOL Programming 7
No new posts DIFF B/W REDEFINES AND RENAMES ? COBOL Programming 8
No new posts Difference between REDEFINES and RENAMES COBOL Programming 5
No new posts What is the use of Renames clause COBOL Programming 5
No new posts Difference between REDEFINES and RENA... COBOL Programming 1
Search our Forums:

Back to Top