API Reference Guide > PHP XMLSERVICE Toolkit > Toolkit Service Class

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:

  1. Setting Database Connections
  2. Setting Toolkit Options
  3. The CLCommand method lets you  run CL commands either in interactive or batch mode
  4. The PGMCall method lets you call programs (*PGM) or service programs (*SRVPGM)  
  5. The AddParameterChar method lets you define a program’s character parameters
  6. The AddParameterPackDec method lets you define a program’s packed decimal  parameters
  7. The AddParameterZoned method lets you define a program’s zoned parameters
  8. The AddParameterInt32 method lets you define 32-bit integer parameters
  9. The AddParameterUInt32 method lets you define 32-bit unsigned integer parameters
  10. The AddParameterInt64 method lets you define 64-bit integer parameters

  11. The AddParameterUInt64 method lets you define 64-bit unsigned integer parameters

  12. The AddParameterFloat method  lets you define a program’s float parameters
  13. The AddParameterReal method lets you define “real” (8-byte float) parameters

  14. The AddParameterBin method lets you define a program’s binary  parameters
  15. The AddDataStructi method lets you define a program’s data structure  parameters
  16. The UpdateParameterValue method lets you update new parameters values The disconnect interface lets you terminate an XML service job in the ZENDSVR subsystem
  17. The Disconnect method lets you terminate a stateful XML service job. Only use if you really want the job to end

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.