Team,
I am working on a brand new Db2 v11.5.8 database in Azure (which I didn't create or provision).
Logged onto the database server I issue
db2 "create table try ( col1 char(5) not null ) in userspace1"
and it works fine.
If I attempt he same command on a client connected to the database server I receive a SQL30090N Reason code 1.
https://www.ibm.com/support/pages/sql30090n-reason-code-1-or-7-returned-application-against-db2-database-server
The IBM Support link says to issue
db2set DB2COMM=TCPIP
db2 update dbm cfg using SVCENAME 12345
and stop/start the instance.
Here is what happens from a remote client:
C:\IIDR>db2 connect to DB1 user user
Enter current password for user:
Database Connection Information
Database server = DB2/LINUXX8664 11.5.8.0
SQL authorization ID = USER
Local database alias = DB1
C:\IIDR>db2 "select * from sysibm.sysdummy1"
IBMREQD
-------
Y
1 record(s) selected.
So I know the database client connection is correct. But
C:\IIDR>db2 "create table try ( col1 char(5) not null ) in userspace1"
DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL30090N Operation invalid for application execution environment. Reason
code = "1". SQLSTATE=25000
+-------------------------------------+---------------------------------------------+
| Frank C. Fillmore, Jr. | Office: 410.465.6335 Mobile: 410.963.0416 |
| The Fillmore Group, Inc. (TFG) | Facsimile: 888.828.4717 |
| 11 West Mount Vernon Place; Room 2 | |
| Baltimore, Maryland 21201 | URL: https://www.thefillmoregroup.com |
| USA | Blog: https://www.thefillmoregroup.com/blog |
+-------------------------------------+---------------------------------------------+








