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
 
Utility for sorted unloads in IMS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
Sivkumar Srinivasan

New User


Joined: 02 Aug 2007
Posts: 6
Location: Denver

PostPosted: Tue Aug 07, 2007 1:52 am    Post subject: Utility for sorted unloads in IMS
Reply with quote

Is there any IMS utility that can unload a database in a sorted order of the keyfield forthat particular database?? I am currently using DFSURGU0 which is not providing unloads in a sorted order
Back to top
View user's profile Send private message

Sandy Zimmer

Active Member


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

PostPosted: Tue Aug 07, 2007 4:16 am    Post subject:
Reply with quote

I guess this is not a HIDAM structure?
Back to top
View user's profile Send private message
Sivkumar Srinivasan

New User


Joined: 02 Aug 2007
Posts: 6
Location: Denver

PostPosted: Tue Aug 07, 2007 7:19 am    Post subject: Re: Utility for sorted unloads in IMS
Reply with quote

its a HDAM database
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Aug 07, 2007 1:12 pm    Post subject:
Reply with quote

You can check BMC unload utilities.
Also from File Aid you can do unload.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Tue Aug 07, 2007 5:01 pm    Post subject:
Reply with quote

HDAM is not KEYED sequential.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Tue Aug 07, 2007 5:24 pm    Post subject:
Reply with quote

Hmmmmm - forgot to ask WHY you want it unloaded in key sequence?
Back to top
View user's profile Send private message
Sivkumar Srinivasan

New User


Joined: 02 Aug 2007
Posts: 6
Location: Denver

PostPosted: Fri Aug 10, 2007 9:41 am    Post subject: Re: Utility for sorted unloads in IMS
Reply with quote

I need them sequential bcos all my PSBs are having a load sequential PSBs
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Aug 10, 2007 10:38 am    Post subject:
Reply with quote

You can write a COBOL program to read all segments sequentially and write it to output file.
Create another Load program which will read this input file and loads to database in sequential
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Fri Aug 10, 2007 4:30 pm    Post subject:
Reply with quote

If your structure is HDAM and you extract a file from it, it will not be in key sequence. If you try to do a load, you will abend. You must use a simple external sort to first sort before the load.
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 Why is SORT rearranging records that ... cschablow DFSORT/ICETOOL 4 Wed Jan 24, 2018 10:14 pm
No new posts Utility for search operation Gopalakrishna551 TSO/ISPF 11 Wed Jan 03, 2018 11:07 am
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts SORT BUT RETAIN HIGHEST VALUE ON NON-... leondan22 DFSORT/ICETOOL 2 Thu Dec 14, 2017 8:13 pm
No new posts NULLFILE on ICEGENER Utility Ashishpanpaliya DFSORT/ICETOOL 5 Wed Nov 08, 2017 10:45 pm

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