SQL client to use from batch

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
miskox
Posts: 609
Joined: 28 Jun 2010 03:46

SQL client to use from batch

#1 Post by miskox » 11 Jun 2024 03:56

Somehow I have to work with DB2 that is hosted on IBM mainframe. I want to run SQL commands from batch that will update DB2 tables. Let's say that I have/I will have required DB2 driver on my PC (I will install SQuirrel Client with the required driver but this application does not support command line/batch use from what I read on the web. So I guess this driver will do.). I guess I have to have a SQL client on my PC... I really have so little experience with this.

I guess as small SQL client as possible would be great.

I will generate SQL statements from batch and after that I would run them.

Please advise and thanks.

Saso

Squashman
Expert
Posts: 4483
Joined: 23 Dec 2011 13:59

Re: SQL client to use from batch

#2 Post by Squashman » 11 Jun 2024 08:44

We got rid of DB2 on our Mainframe many years ago, but whomever is the DB admin can give the client to install.

miskox
Posts: 609
Joined: 28 Jun 2010 03:46

Re: SQL client to use from batch

#3 Post by miskox » 11 Jun 2024 09:19

I already asked one person from the development team. All I got was:"I don't know what to do."

Good idea: I will ask DB2 admin.

Saso


miskox
Posts: 609
Joined: 28 Jun 2010 03:46

Re: SQL client to use from batch

#5 Post by miskox » 12 Jun 2024 05:41

Thanks. Will check them out.

I contacted our DB2 admin to see what could be done - looks like IBM has an official Windows batch/command line option.

Saso

Squashman
Expert
Posts: 4483
Joined: 23 Dec 2011 13:59

Re: SQL client to use from batch

#6 Post by Squashman » 12 Jun 2024 08:33

miskox wrote:
12 Jun 2024 05:41
Thanks. Will check them out.

I contacted our DB2 admin to see what could be done - looks like IBM has an official Windows batch/command line option.

Saso
Yes. It will come with the client and the odbc driver.

Post Reply