User Tools

Site Tools


pub:technical

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pub:technical [2022/10/04 13:12] – [Fix] kkramerpub:technical [2022/10/04 16:40] (current) – [Fix] kkramer
Line 10: Line 10:
 When using the ESNDDBF or ESNDDBF commands (or their variants) with a User Profile that does not have a password (*NONE for the password), the job gets a Java exception. This worked with iDocs 6.86, but not with iDocs 6.99.  When using the ESNDDBF or ESNDDBF commands (or their variants) with a User Profile that does not have a password (*NONE for the password), the job gets a Java exception. This worked with iDocs 6.86, but not with iDocs 6.99. 
 ===== Fix ===== ===== Fix =====
-**6.99 6.28.2022**\\+**6.99 6.26.2022**\\
 When using **ESNDSPLF** to convert a spool file to *XLS or *XLSX; or when using **ESNDDBF** to convert a database file to *CSV, *XLS, or *XLSX the iMail program will be called. When using **ESNDSPLF** to convert a spool file to *XLS or *XLSX; or when using **ESNDDBF** to convert a database file to *CSV, *XLS, or *XLSX the iMail program will be called.
  
 The iMail program will check the newly created **DSUSEJDBC** data area. The iMail program will check the newly created **DSUSEJDBC** data area.
  
-If the DSUSEJDBC value is ‘N’, then the program will use the new method for processing (which does not use JDBC).+If the **DSUSEJDBC value is ‘Y**, then the program will use the original the JavaSoft specification of a standard application programming interface (APIthat allows Java programs to access database management systems.
  
-If the DSUSEJDBC value is ‘Y’, then the program will use the original method for processing (which uses JDBC).+If using ‘Y’ for DSUSEJDBC setting, then iMail will need use the standard JDBC method in the processing of the conversion.  When using JDBC you will need to add the CLASSPATH as this is used in this method.  Additionally, User Profiles which are used to submit a job will need to have a Password associated with the User Profile for this method to function correctly. If you need to use a User Profile which does not uses a password, then use the newer method to process by selection ‘N’ on the DSUSEJDBC data area
    
 +If the **DSUSEJDBC value is ‘N’**, then the program will use the revised method for processing which does not use Java™ database connectivity (JDBC).
  
-When using the new method for processing, without using JDBC, if iMail encounters a Java Exception, then iMail will use QSHELL to call IMR7000 or IMRSPLF2XLS (depending on what type of conversion is being performed).  Instead of using JDBC iMail will use SequentialFile class in Java Toolbox for AS400 as a method for the database connection. +When using the new method for processing if iMail encounters a Java Exception, then iMail will use QSHELL to call IMR7000 or IMRSPLF2XLS (depending on what type of conversion is being performed).  Instead of using JDBC iMail will use SequentialFile class in Java Toolbox for AS400 as a method for the database connection. 
- +
  
-When using the new method, CLASSPATH does not need to be configured.  However, it is recommended that you do setup CLASSPATH to point to the location of the new IFDJAVA.JAR file. +When using the new method, CLASSPATH does not need to be configured.  However, it is recommended that you do setup CLASSPATH to point to the location of the new IFDJAVA.JAR file. 
- +
- +
  
 In the event that there is an exception in QSHELL, the job will continue to run and an error will appear in the job log.  Most likely possibilities for an error in QSHELL will be 1.) The ‘JAR FILES Directory’ field in iMap was not configured correctly; or 2.) The IFDJAVA.JAR file does not exist in the specified directory. In the event that there is an exception in QSHELL, the job will continue to run and an error will appear in the job log.  Most likely possibilities for an error in QSHELL will be 1.) The ‘JAR FILES Directory’ field in iMap was not configured correctly; or 2.) The IFDJAVA.JAR file does not exist in the specified directory.
  
-If using ‘Y’ for DSUSEJDBC setting, then iMail will need use the JDBC method in the processing of the conversion.  When using JDBC you will need to add the CLASSPATH as this is used in this method.  Additionally, User Profiles which are used to submit a job will need to have a Password associated with the User Profile for this method to function correctly. If you need to use a User Profile which does not uses a password, then use the newer method to process by selection ‘N’ on the DSUSEJDBC data area. +These changes will address these two points: 
-  +
- +
-The new changes will address these two points: +
  
 1.) Provides for an alternative path to the IFDJAVA.JAR file when there is a Java exception; \\ 1.) Provides for an alternative path to the IFDJAVA.JAR file when there is a Java exception; \\
pub/technical.1664914366.txt.gz · Last modified: 2022/10/04 13:12 by kkramer