Use the steps below to troubleshoot and solve remote database issues related to SEQUEL or ViewPoint.
If possible, make sure you have SEQUEL version R10M14 or higher. Use the following command to verify:
SEQUEL installs various .jar files into the /sequel and /rio/lib folders. If newer versions of any of these files are required, do not rename the current file. Instead, move the file out of the folder and replace it with the newer version. Screen shots of these folders may be requested by your support rep to confirm the content and versions of the files. Below is a list of some of the more commonly used Database/Drivers in the rio/lib folder :
Create a screen shot of the Connection String/Driver path using either ViewPoint Administrator or the command SEQUEL/MNTHOSTF. Use this for reference, or to share with SEQUEL Support. Two examples are shown below:
The specific details of the string syntax is defined by the JDBC driver vendor (Microsoft in this case). SEQUEL simply passes the string specified in the Sequel Host Definition to the JDBC driver.
For SQLServer connections, SEQUEL (prior to version R11M03) installs a Type-4 JDBC driver (sqljdbc.jar—version 1.2 dated 10/11/2007 with a size of 570KB) into the rio/lib folder of the IFS. Due to recent changes on both the Systen i and SQL Server, it is recommended this driver should be moved out of the rio/lib folder (not renamed) and replaced with the newer 1.2 version sqljdbc.jar—dated 11/12/2009 with a size of 300KB. This new version can be downloaded from the following link: https://support.microsoft.com Starting with SEQUEL version R11M03, this newer driver will be included with the product.
If you are using a driver that is not supplied by SEQUEL Software, place the jar file in the /rio/lib folder.
Document the installed Java options:
Issue the command GO LICPGM.
Select Option 10.
Scroll to the Java products (xxxxJC1 and xxxxJV1) toolbox, developer kit for java and java developer kits.
Collect print screens showing options and installed status. V7R1 does not have developer kit. (Also, V7R1 requires 57xxSS1 option 33 - Portable App Solutions Environment)
Set your environment for maximum logging. The following file—\QIBM\UserData\Java400\ SystemDefault.properties—contains the following additional settings that produce more detailed information:
This will create two spooled files—QPRINT (java job/error log) and QPJOBLOG. Print these files to review the test or to share with SEQUEL Support.
Note: If SQLCONNECT is successful but ViewPoint still fails, java logs from the ViewPoint job must be collected. For ViewPoint, these logs are in job QPRTJOB associated with the user id. They can be found using:
(specify the ViewPoint user id)
WRKJOB QPRTJOB(scan the list for the recent job of the ViewPoint user)
Example error message:
‘Relational database xxxnot in relational database directory’
This message indicates SEQUEL is trying to connect using CLI, not JDBC which is an obvious problem if you are trying to use a JDBC driver based connection. This indicates a problem with the host definition. The problem is most likely the connection string or incompatibility between the driver and connection strings.
Finally: Be sure to check for unwanted jar and class files. Unexpected driver files and class files are a common source of connection and/or operational problems. These files cause problems when they get used instead of the driver installed into the /rio/lib folder. Users are likely to find unexpected jar files and/or class files in one or more of the following locations: