Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

DB2 CONNECT query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
mistah kurtz

Active User


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

PostPosted: Fri Jul 15, 2016 6:37 pm    Post subject: DB2 CONNECT query
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

Senior Member


Joined: 21 Sep 2010
Posts: 1638
Location: NY,USA

PostPosted: Sat Jul 16, 2016 2:33 am    Post subject:
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: 271
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Mon Jul 18, 2016 1:11 pm    Post subject:
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

Senior Member


Joined: 21 Sep 2010
Posts: 1638
Location: NY,USA

PostPosted: Mon Jul 18, 2016 3:46 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Omegamon for DB2 query ashek15 DB2 0 Wed Feb 15, 2017 11:25 am
No new posts Query on DB2 WLM stored procedures ashek15 DB2 8 Sun Feb 12, 2017 11:13 pm
No new posts GETMAIN/FREEMAIN query Suja.Sai CICS 9 Tue Jan 31, 2017 12:01 pm
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us