db2-400 Questions

2

I have a fairly agnostic ADO.NET application that connects to a number of databases and is able to extract the necessary information to run. I have hit a snag with DB2 and how it handles named para...
Tardif asked 5/6, 2014 at 22:0

2

Solved

I'm working with a Spring boot Application connecting to an AS400 Database using the com.ibm.db2.jcc.DB2Driver driver with Spring Data JPA. I use the org.hibernate.dialect.DB2Dialect dialect. When ...
Precautious asked 6/1, 2020 at 10:31

1

Solved

HikariPool-1 - Connection marked as broken because of SQLSTATE(08S01), ErrorCode(-99999) java.sql.SQLNonTransientConnectionException: Communication link failure. (Read timed out) I kept getting t...
Sergent asked 21/2, 2019 at 10:2

1

Solved

Short version: Please tell me how to connect to AS/400s via SQLAlchemy. Long version My ultimate goal is to join data from SQL Server and AS/400 to be displayed in a Flask Python application. My ...
Stacked asked 17/1, 2019 at 17:45

2

IN DB2 V5R4, When you modify the functionality of a DETERMINISTIC UDF It returns the cached response for a while... There are any way to reset the cached responses? Thanks in advance.
Romaine asked 10/2, 2012 at 11:15

6

Solved

I want to drop a column called id which is an auto incrementing PK. The SQL: alter table "CO88GT"."XGLCTL" drop column id cascade; And I get: Error: [SQL0952] Processing of the SQL statement ...
Squier asked 21/12, 2010 at 22:29

3

Solved

My odbc connection string for connecting to DB2i looks like this: Driver={Client Access ODBC Driver (32-bit)};system=xx.xx.xx.xx;dbq=LIB1 LIB2 LIB3 LIB4 LIB5 LIB6 LIB7 LIB8;languageid=ENU;qrystglm...
Linet asked 12/12, 2013 at 14:38

4

Solved

I need a query which will output a list of dates between two given dates. For example, if my start date is 23/02/2016 and end date is 02/03/2016, I am expecting the following output: Date ---- 23...
Broyles asked 23/2, 2016 at 13:21

3

Solved

I have been trying for a while now to get a similar method to GETDATE() in DB2 for i. So far I have found the following: current date current timestamp current time Would it be possible for me t...
Cuckooflower asked 30/10, 2013 at 9:59

2

Solved

I'm trying to help a friend troubleshoot connection problems with an AS/400. He'd like to run a query against the AS/400 that will always return a record, (similar to a SELECT 1 against MSSQL). He...
Babara asked 16/3, 2010 at 13:35

6

I'm new at working on an as400 and I have a query the joins across 4 tables. The query itself is fine, it runs in STRSQL and displays the results. What I am in struggling with is getting the query ...
Noumenon asked 16/10, 2012 at 19:54

3

Solved

When working with embedded SQL in RPG, you often end up with a cursor and a dow-loop for processing all rows in your result. The condition in the loop is somehow dependent on SQLCOD and/or SQLSTT, ...
Eruption asked 13/3, 2013 at 15:40

1

How can we View the DB2 Procedure (I mean what logic they have written ) and How can we execute the DB2 Procedure and just see the output of the procedure using DB2
Themselves asked 4/8, 2010 at 0:35

2

Solved

Is there an SQL command on the AS400/iSeries/System-i/whatever to add a column to a table in a specific ordinal position, or moving an existing column to a different position?
Heber asked 20/10, 2009 at 15:15

2

Solved

I have a set of files in a library on an AS/400/iSeries/System-I/whatever-IBM-wants-me-to-call-it-these-days which I do not have DDS for (created in SQL I gather) but to which I would like to add f...
Adamsen asked 11/8, 2009 at 16:13

2

Solved

How do I iterate over a set of records in RPG(LE) with embedded SQL?
Malady asked 23/9, 2008 at 11:30

4

Code I am trying to run: $query = "DESCRIBE TABLE TABLENAME"; $result = odbc_exec($h, $query); The result: PHP Warning: odbc_exec(): SQL error: [unixODBC][IBM][iSeries Access ODBC Driver][DB...
Drinkwater asked 30/9, 2008 at 16:41
1

© 2022 - 2024 — McMap. All rights reserved.