Satish Nandeti
13th August 2002, 15:17
Hi Guys,
If a process session gives 2 reports as output, how to handle those reports thru' AFS (IS IT POSSIBLE???) ?
I know to handle if it is a single report using the following code,
stpapi.set.report("trdrp0230m000","rtrdrp023001000", "ASCIF", error.mess)
filename = bse.dir$() & "/" & "transferRPLOrders-" & dte$()
stpapi.put.field("trdrp0230m000","spool.fileout", filename)
stpapi.continue.process("trdrp0230m000",error.mess)
But if the session opens up 2 reports asking for the device twice, how to handle that using AFS?
and I want to write those 2 reports into 2 different files by specifying filenames.
I welcome your suggestions.
Thanks,
:confused:
If a process session gives 2 reports as output, how to handle those reports thru' AFS (IS IT POSSIBLE???) ?
I know to handle if it is a single report using the following code,
stpapi.set.report("trdrp0230m000","rtrdrp023001000", "ASCIF", error.mess)
filename = bse.dir$() & "/" & "transferRPLOrders-" & dte$()
stpapi.put.field("trdrp0230m000","spool.fileout", filename)
stpapi.continue.process("trdrp0230m000",error.mess)
But if the session opens up 2 reports asking for the device twice, how to handle that using AFS?
and I want to write those 2 reports into 2 different files by specifying filenames.
I welcome your suggestions.
Thanks,
:confused: