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

DB2 CONNECT query


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 310
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Fri Jul 15, 2016 6:37 pm
Reply with quote

In mainframe, we have a jcl which is loading the data into DB2 table in first step and then in the next step we are repairing the table space and index space.

Now this job will be migrated in Unix environment where we have replaced the load step with a cobol program which will insert the data into DB2 table residing in Mainframe via DB2 Connect utility.

My query is: Now that we are loading the table through a program, do we need repair table space/index space step in UNIX. And if we need, how to issue the REPAIR command from unix via DB2 Connect.

Any help would be much appreciated.

Thanks.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2590
Location: NYC,USA

PostPosted: Sat Jul 16, 2016 2:33 am
Reply with quote

I am not sure why you needed daily Repair?
You will have to connect with your site DBA to see if REPAIR is essential on UNIX Box.
Back to top
View user's profile Send private message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 310
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Mon Jul 18, 2016 1:11 pm
Reply with quote

Thanks Rohit. I have got the response from the DBA. REPAIR is not required.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2590
Location: NYC,USA

PostPosted: Mon Jul 18, 2016 3:46 pm
Reply with quote

Good! Thanks for the updates and this will help someone else in the same situation.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Need Help with on of the coalesce query DB2 4
No new posts ZOS Connect EE Vs z/OS client web ena... All Other Mainframe Topics 0
No new posts Mainframe ISPREDIT Macro query TSO/ISPF 3
No new posts DFSORT Output file order query DFSORT/ICETOOL 2
No new posts Query on JCL DFSORT/ICETOOL 5
Search our Forums:

Back to Top