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

REORG to reduce segment size new DBD


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

New User


Joined: 18 May 2017
Posts: 4
Location: CAnada

PostPosted: Wed Oct 14, 2020 7:22 pm
Reply with quote

Hi, does anyone know how to reduce the segment size using User exit in the REORG ?
both old and new DBD have the segment defined as Fixed length. I want to reduce from 472 to 120 bytes

First:I tried running just unload with old DBD and reload with new DBD, hoping IMS would just truncate the extra data. I kept getting S0C4 in HPSRIOIN offset 469E

Next:I tried to create a user exit in the UNLOAD where I would modify the segments to smaller length. This just seems to go into a loop, no error is returned.. Then I've read this is basically not allowed because it is defined as Fixed Length in DBD

Should the first idea work, but maybe some change in parameters needed ?
Thanks in advance !
Flora
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 15, 2020 4:04 pm
Reply with quote

DBDGEN/ACBGEN????
Back to top
View user's profile Send private message
Floramq

New User


Joined: 18 May 2017
Posts: 4
Location: CAnada

PostPosted: Thu Nov 05, 2020 12:32 am
Reply with quote

Hi Peter, thanks for this.. I am an application programmer working with the IMS DBA and he took care of the DBDGEN/ACBGEN etc... what we determined (after contacting IBM) was that the High Performance Utilities did not work for this scenario..
When we use the vanilla IBM Unload/ Reload it works without any User Exit
The unload wrote out the segments at the longer length (using OLD DBD) and the RELOAD read them in , truncated and created the IMS Segments with the correct length in the new DBD. (the last part is exactly what the manual says it should do, but it doesn't wok in HPUNLOAD utility version, gets S0C4. )
Thanks very much for answering.
Flora
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 Reorg abended with REASON=X'00E40347' DB2 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Using Java/C/C++ to retrieve dataset ... Java & MQSeries 6
No new posts Find the size of a PS file before rea... COBOL Programming 13
No new posts Masking variable size field - min 10 ... DFSORT/ICETOOL 4
Search our Forums:

Back to Top