theprez / codeforibmiserver Goto Github PK
View Code? Open in Web Editor NEWServer-side support for Code for IBM i
License: GNU General Public License v3.0
Server-side support for Code for IBM i
License: GNU General Public License v3.0
Hi, I tried several times to install Code4i but the server component for DB2for i gets never installed.
I downloaded the jar file and copied it in my .vscode folder.
By connecting to my IBM i box VS code I get the error
"Something went really wrong trying to fetch your come directory"
Source: DB2 for IBM i
What am I doing wrong?
Thanks bye
Hi,
I often got this message :
java.sql.SQLException: INTERNAL ERROR: Creation of DB2Driver object for registering with DriverManager failed. -> com.ibm.db2.jdbc.app.DB2JDBCDataException: CCSID value is not valid.
Do you know why?
Regards,
Olivier.
With the current code flow, if the prepare of the statement to VE fails for any reason (ex: query of a non-existent file), we drop into the catch block, skipping over the call to ENDDBMON.
As a result, any subsequent VE actions on the job fail at the point that the STRDBMON is called, because the job is still being monitored from the failed attempt.
The fail out path needs to ensure that the job monitoring is ended.
Ability to run CL command in the job would be cool
Need binding parameters for procedure calls.
Also input/output support would be nice but not required
I'm wondering if this should instead be calling QSYS.QQQDBVE
.
I think it is possible for QIWS.QQQDBVE2
to not exist on the system.
Way back in the day System i Navigator was responsible for creating it.
I think at some point that might have gotten rolled into a system install or IPL path, but I am not certain.
Under the covers, both procedures call the same program.
Right now there is a hardcoded string in the VE API call, but we're likely going to need this parameterized in the future so we can pass in optional values via the request object.
typedef _Packed struct /* Input structure */
{
char IN_DBMONTBL[10]; /* DBMON table name */
char IN_DBMONLIB[10]; /* DBMON lib name */
char IN_DATFMT[3]; /* Date Format */
char IN_DATSEP[1]; /* Date Separator */
char IN_TIMFMT[3]; /* Time Format */
char IN_TIMSEP[1]; /* Time Separator */
char IN_DECPNT[1]; /* Decimal Point */
char IN_LNGID[3]; /* Language ID */
char IN_DIAGRAM[1]; /* Type of VE diagram */
char IN_DATAATTR[1]; /* Data attribute option */
char IN_OPTION3[1]; /* Explain current-of-job */
char IN_CURRJOB[26]; /* Job for current-of-job */
char IN_ExpOnly[1]; /* Explain Only */
char IN_DblHostVar[1]; /* DblByte HostVar values */
char IN_ClsCursor[1]; /* QQQDBVE to close cursor */
char IN_RESRV[8]; /* Open for use */
} x; /* Structure passed to API on input, 72 bytes */
As this won't be tied to Code for IBM i
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.