Toolkit Service Class
'ToolkitService' is the main class, managing connections and communication. It includes methods to handle connections, toolkit options, CL commands, program calls, and related objects such as program parameters.
The ToolkitService class uses the following methods/functions:
- Setting Database Connections
- Setting Toolkit Options
- The CLCommand method lets you run CL commands either in interactive or batch mode
- The PGMCall method lets you call programs (*PGM) or service programs (*SRVPGM)
- The AddParameterChar method lets you define a program’s character parameters
- The AddParameterPackDec method lets you define a program’s packed decimal parameters
- The AddParameterZoned method lets you define a program’s zoned parameters
- The AddParameterInt32 method lets you define 32-bit integer parameters
- The AddParameterUInt32 method lets you define 32-bit unsigned integer parameters
-
The AddParameterInt64 method lets you define 64-bit integer parameters
-
The AddParameterUInt64 method lets you define 64-bit unsigned integer parameters
- The AddParameterFloat method lets you define a program’s float parameters
-
The AddParameterReal method lets you define “real” (8-byte float) parameters
- The AddParameterBin method lets you define a program’s binary parameters
- The AddDataStructi method lets you define a program’s data structure parameters
- The UpdateParameterValue method lets you update new parameters values The disconnect interface lets you terminate an XML service job in the ZENDSVR subsystem
- The Disconnect method lets you terminate a stateful XML service job. Only use if you really want the job to end