Hi,
I am using the SYSLIB.MONITORQUERYBAND Open API in my application.
the API takes three parameters,
HostId,SessionNo,RunVProcNo
The CLIv2 counterpart of this API has the option of passing null/0 for the parameter VprocNo , but the open API doesn't allow me to do this..
SELECT
SessionNo
,UserName
,PartName
,PEstate
,AMPIO
,ReqSpool
,MonitorQueryBand(HostId,SessionNo,coalesce(RunVprocNo,0))
,Blk1SessNo
FROM TABLE(MonitorSession(-1,'*',0)) AS T1
fails saying PE Vproc number.
Note: I have tried explicit zero/null instead of coalesce. Teradata version 13.10
Tags:
Forums: