Spooling System .........................................................................................................................5-5
Applicable Instructions and Spooling Execution Conditions .......................................................5-5
Memory Area Used by the Spool Function .................................................................................5-6
Spool Function Settings ..............................................................................................................5-8
How to Resend the SQL Statements Stored in the Spool Memory.............................................5-9
Clearing the SQL Statements from the Spool Memory .............................................................5-10
Relationship with the DB Connection Instructions ....................................................................5-12
How to Estimate the Number of SQL Statements that can be Spooled....................................5-14
5-3 Stored Procedure Call Function .........................................................................................5-16
Overview ...................................................................................................................................5-16
Specifications of the Stored Procedure Call Function for Databases .......................................5-17
How to Execute the Stored Procedure Call Function................................................................5-19
Specifying the Table and Applying the Mapping .......................................................................5-20
Errors during Stored Procedure Call .........................................................................................5-22
5-4 Batch Insert Function ..........................................................................................................5-24
Overview ...................................................................................................................................5-24
How to Execute the Batch Insert Function ................................................................................5-25
5-5 DB Connection Service Shutdown Function.....................................................................5-26
Overview ...................................................................................................................................5-26
Shutdown System .....................................................................................................................5-26
How to Execute the Shutdown Function ...................................................................................5-27
How to Check the Shutdown of the DB Connection Service.....................................................5-27
5-6 How to Prevent Losing SQL Statements at Power Interruption ......................................5-28
Overview ...................................................................................................................................5-28
Procedures................................................................................................................................5-28
5-7 Timeout Monitoring Functions ...........................................................................................5-33
Timeout Monitoring Functions ...................................................................................................5-33
Login Timeout............................................................................................................................5-33
Query Execution Timeout..........................................................................................................5-34
Communications Timeout..........................................................................................................5-34
Instruction Execution Timeout ...................................................................................................5-35
Keep Alive Monitoring Time ......................................................................................................5-35
5-8 Other Functions ...................................................................................................................5-36
Backup/Restore Function in the DB Connection Service..........................................................5-36
Operation Authority Verification in the DB Connection Service.................................................5-37
Encrypted Communication ........................................................................................................5-38
6-1 Operation Logs ......................................................................................................................6-2
6-2 Execution Log ........................................................................................................................6-3
Overview .....................................................................................................................................6-3
Application Procedure .................................................................................................................6-3
Setting the Execution Log ...........................................................................................................6-3
Checking the Execution Log .......................................................................................................6-4
Execution Log File Specifications ...............................................................................................6-4
6-3 Debug Log ............................................................................................................................6-15
Overview ...................................................................................................................................6-15
Application Procedure ...............................................................................................................6-15
Set the Debug Log ....................................................................................................................6-15
Start Recording to the Debug Log.............................................................................................6-16
Stopping Recording to Debug Log ............................................................................................6-17
Checking the Debug Log...........................................................................................................6-18
Debug Log File Specifications...................................................................................................6-18
6-4 SQL Execution Failure Log .................................................................................................6-29
Overview ...................................................................................................................................6-29
Application Procedure ...............................................................................................................6-29
Setting the SQL Execution Failure Log .....................................................................................6-29
CONTENTS
10
NJ/NX-series Database Connection CPU Units User’s Manual (W527)