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

Impacts in change of Key field in an Segment of IMS database


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajesh1183

New User


Joined: 07 Jan 2008
Posts: 98
Location: Hyderabad

PostPosted: Mon Jun 15, 2009 1:24 pm
Reply with quote

Hi All,

Can you please let me know the "Impacts in change of Key field in an Segment of IMS database".

My requirement is to change the policy no. length which is a key filed in the segment. The database uses secondary indexes and logical relationships...

Currently my approach to increase the policy number length is :
1) Unload the data from DB
2) Delete the DB. Create the new one with increased policy number length.
3) Reformat the unloaded data to accomodate the increased policy number length(prefix with zeros or spaces based on data type)
4) Re-compile the PSB's that uses these DB's
5) Re-compile the programs

Please let me know incase my approach is not correct or need corrections...
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Mon Mar 29, 2010 12:20 pm
Reply with quote

You have to edit the PSBs (KEYLEN Field) instead of recompiling. Also you must take the Logical relations into consideration.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Mon Mar 29, 2010 5:25 pm
Reply with quote

Quote:
You have to edit the PSBs (KEYLEN Field) instead of recompiling
.

I'm sure you meant to say you need to recompile your PSB AFTER editing.
Back to top
View user's profile Send private message
Ranjithkumar

New User


Joined: 10 Sep 2008
Posts: 93
Location: India

PostPosted: Mon Mar 29, 2010 5:27 pm
Reply with quote

Yes ofcourse Sandy 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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts What database does Jobtrac use CA Products 4
No new posts 3270 personal communications. Can't c... TSO/ISPF 2
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts SELECT from data change table DB2 5
Search our Forums:

Back to Top