Joined: 26 May 2005 Posts: 15 Location: maharashtra
if you are having the PLX compiler with you (I dont know whether PLI and PLx compilers are same) you can use the WTOR assembler instruction for sending messages to spool and receiving the response from it.
if you could search google for it you might get a lot of sample codes for it.
The macro is present in SYS1.MACLIB or in SYS1.AMODGEN.