Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Cannot change DATACLAS on DFSMSdss re... Alan Playford JCL & VSAM 10 Tue May 01, 2018 6:43 pm
No new posts How to include a particular field val... sakrat DFSORT/ICETOOL 8 Fri Apr 06, 2018 8:27 pm
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Searching a table for the field name? socker_dad COBOL Programming 8 Sat Mar 31, 2018 2:57 am
No new posts Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us