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

How to map REDEFINES clause to a DB2 table?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
guruji
Warnings : 1

New User


Joined: 13 Apr 2007
Posts: 59
Location: Chennai

PostPosted: Wed Jun 13, 2007 1:00 pm
Reply with quote

HI,

I am working to convert an existing VSAM to a DB2 table. The fields in VSAM copybook have to be mapped to corresponding field in DB2 table. But I am not able to map the field which is having REDEFINES clause in its definition to its corresponding field in DB2 table. Can you suggest a way to do the same?

Thanks,
Reni
Back to top
View user's profile Send private message
muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Canada

PostPosted: Wed Jun 13, 2007 5:33 pm
Reply with quote

REDEFINES is not possible with DB2 .
So you can better use the lowest group field(in the REDEFINE field) as a column so that it will be easy to map .
Back to top
View user's profile Send private message
guruji
Warnings : 1

New User


Joined: 13 Apr 2007
Posts: 59
Location: Chennai

PostPosted: Wed Jun 13, 2007 5:55 pm
Reply with quote

Hi muthuvel,

I dint get you completely.What did you mean by lowest gp field? Can you please explain with an example?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Jun 13, 2007 5:59 pm
Reply with quote

Elementary item, not group item......
Back to top
View user's profile Send private message
guruji
Warnings : 1

New User


Joined: 13 Apr 2007
Posts: 59
Location: Chennai

PostPosted: Wed Jun 13, 2007 6:14 pm
Reply with quote

Thank you icon_smile.gif
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top