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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Impacts in change of Key field in an Segment of IMS database
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: 94
Location: India

PostPosted: Mon Mar 29, 2010 12:20 pm    Post subject: Reply to: Impacts in change of Key field in an Segment of IM
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    Post subject:
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: 94
Location: India

PostPosted: Mon Mar 29, 2010 5:27 pm    Post subject: Reply to: Impacts in change of Key field in an Segment of IM
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Alter &DATENS field in HEADER1 Angad DFSORT/ICETOOL 4 Mon Apr 24, 2017 11:49 am
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


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