Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

MONITORQUERYBAND Open API Issue - forum topic by Cvinodh

$
0
0

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

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>