Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: Calling a PAL procedure with in a standard procedure in SAP HANA

$
0
0

Hi Avinash,

 

I was able to to use table variable in the call statement as you suggested. But i got a different problem. the output tables are empty. Below is my SQL procedrue to call a PAL procedure.

 

CREATE PROCEDURE test_VT ( ) LANGUAGE SQLSCRIPT AS
BEGIN
    data_input =     SELECT * from Z_RATE;
    vt_params = SELECT * from Z_VT_PARAMS;                                           
    CALL _SYS_AFL.Z_VT (:data_input, :vt_params, Z_VT_RESULTS, Z_VT_OUTLIERS) WITH OVERVIEW;                                         
END;


Statement 'call test_VT()'
successfully executed in 104 ms 491 µs  (server processing time: 9 ms 425 µs) - Rows Affected: 0


is it the correct way to call PAL procedure within another procedure? Why the results table are empty here?

 

Thanks for the help!


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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