waliwali / ibm-db

Automatically exported from code.google.com/p/ibm-db
0 stars 0 forks source link

ibm-db for iseries #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With the help of www.iseriespython.com i'm able to running Django native on 
iseries platform .
(Native not in pase environment but __ILEC400__  ) for now using a sqlite3 port 
as db backend for testing functionality.

Any news on compile ibm-db native on iseries ?

For more information lock at
 http://www.iseriespython.com/app/ispMain.py/Start?job=Posts

Thanks 

Original issue reported on code.google.com by fantin.m...@gmail.com on 13 Apr 2011 at 9:11

GoogleCodeExporter commented 9 years ago
Did you try to compile it on iseries, if not then please try to compile and 
install it on iseries and report any issues you face. 

Thanks,
Rahul Priyadarshi

Original comment by rahul.pr...@in.ibm.com on 17 Apr 2011 at 3:23

GoogleCodeExporter commented 9 years ago
I have successfully compile ibm_db.c on iseries (over iseriespython library) 
after a lot of change involving using UTF8 as environment and not Unicode (on 
my iseries v5r4 are missing api for SQLSetConnectAttrW only SQLSetConnectAttr 
for example) and other minor change for using sqlcli.h instead of sqlcli1.h 

I have running then tests script with success on :

test_000_PrepareDb.py
test_001_ConnDb.py
test_002_ConnDbUncatalogedConn.py
test_003_NumAffectedRows.py
test_004_ConnWrongUserPwd.py
test_005_ConnBadUserBadPwd.py
test_008_ColumnInfo.py
test_010_UpdateRowCount.py
test_011_DeleteRowCount.py
test_015_InsertDeleteRowCount_01.py
test_016_InsertDeleteRowCount_02.py
test_020_RollbackDelete.py
test_021_CommitDelete.py
test_022_RollbackInsert.py
test_034_FetchAssoc.py
test_035_FetchRow_01.py
test_036_FetchRow_02.py
test_040_FetchTuple.py
test_042_FetchTupleMany_02.py
test_043_FetchTupleMany_03.py
test_044_FetchTupleMany_04.py
test_046_FetchTupleMany_05.py
test_047_FetchTupleMany_06.py
test_049_InsertNoneParam.py
test_051_SetAutocommit_01.py
test_052_SetAutocommit_02.py
test_063_Tables_04.py
test_070_Close.py
test_071_CloseSuccess.py
test_081_ConnWrongUser.py
test_082_ConnWrongPwd.py
test_100_SelectDeleteInsertFieldCount.py
test_101_InsertDeleteFieldCount.py
test_110_FieldNum.py
test_111_FieldNumAddCol.py
test_112_FieldNumDiffCaseColNames.py
test_114_NumericTest_01.py
test_120_FieldName.py
test_121_FieldNameAddCol.py
test_122_FieldNameDiffCaseColNames.py
test_123_FieldNamePos_01.py
test_125_FieldNamePos_03.py
test_130_PrepExecuteSelectStmt.py
test_131_PrepareExecuteSelectStatementParams.py
test_132_ExecuteStatementArrayMultipleParams.py
test_140_BindParamSelectStmt.py
test_141_BindParamSelectStmtMultipleParams_01.py
test_142_BindParamSelectStmtMultipleParams_02.py
test_143_BindParamInsertStmtNoneParam.py
test_144_BindParamInsertStmtPARAM_FILE.py
test_145_BindRetrieveNoneEmptyString.py
test_210_FieldDisplaySize_01.py
test_211_FieldDisplaySize_02.py
test_212_FieldDisplaySize_03.py
test_213_FieldDisplaySize_04.py
test_220_PersistentConn.py

Now i looking to solve other tests ..

I attach zip file with my modified source ...

Original comment by fantin.m...@gmail.com on 20 Apr 2011 at 12:45

Attachments:

GoogleCodeExporter commented 9 years ago
New version of ibm_db for iseries , now i can run more tests and the admin 
interface of django 

Original comment by fantin.m...@gmail.com on 3 May 2011 at 1:23

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Fantin,

Are u wanting us accept your changes and start shipping a ibm_db for iSeries 
ILEC ? While we do accept contributions after signing a CLA 
(http://code.google.com/p/ibm-db/wiki/Contributions), none of developers of 
ibm-db will be able to maintain the ILEC changes. Thus we are skeptical to 
merge your changes into the existing ibm_db branch in CVS. 1 alternative is 
then to open a new branch say ibm_db_iseriesILEC that you would own and control 
and make your releases (though i am not sure if we can setup such fine-grained 
access control). Simplest of course is you can simply host your ibm_db-ILEC 
version on your choice location and we would be happy to place a message on our 
home page that point users to it. 

Mario

Original comment by mario.br...@gmail.com on 4 May 2011 at 6:29

GoogleCodeExporter commented 9 years ago
Hi Mario,

i think that the best place for host my change are the 
http://www.iseriespython.com/ that use sourceforge , naturaly with the 
permission of ibm_db owner and permission of Per Gummedal and Aaron Fransen 
"owner" of iseriespython , i use this forum after the invite to do myself from 
rahul so the code work for me and i enjoy to share  but i can't be a "developer 
maintainer" here on code.google...

For now a link to www.iseriespython.com or the forum :
 http://www.iseriespython.com/app/ispMain.py/Start?job=Posts
can be ok for me.

Massimo

Original comment by fantin.m...@gmail.com on 4 May 2011 at 9:28

GoogleCodeExporter commented 9 years ago
Fantin,
 Sure. Our code is Apache Licensed, so your are free to use it under those terms and we welcome your usage. I cant see any problems with what u want to do. Once you have made a release, give us the URL.

best of luck
Mario

Original comment by mario.br...@gmail.com on 4 May 2011 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by rahul.pr...@in.ibm.com on 9 May 2011 at 10:03