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 Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm

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