php - Load *LIBL (library list) defined in CRTJOBD when connecting to db2 with PDO -
it seems nobody had problem yet.... db2_connect
found docs decrible how load default library list (*libl
) on connection pdo
nothing!
i'd perform statements without specifing library name in front of file name. created job description
load libraries, , when log in pc5250
emulator library online.
but if run query pdo without specifying library name following returned:
error executing sth in testget as400 sqlstate[42s02]: base table or view not found: 0 [ibm][system access odbc driver][db2 i5/os]sql0204 - testfile in web type *file not found. (sqlprepare[0] @ ext\pdo_odbc\odbc_driver.c:206)
to use library list, need make sure connection attributes specify system naming, , avoid setting current schema.
without knowledge of php + pdo, stackoveflow tag wiki gives introduction. check pdo configured proper settings db2 i, not luw or z. likewise check db2_connect settings. (why using that, instead of straight odbc?)
Comments
Post a Comment