Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

How to get table of object in Powerbuilder script

$
0
0

I am using PB12.5 and Oracle 11g.

 

I have an Oracle package in which I created a Table of type object with following details

CREATE OR REPLACE TYPE FILE_TYPE FORCE AS OBJECT (file_name VARCHAR(200), file_data CLOB)

 

CREATE OR REPLACE TYPE FILE_TYPE_TABLE IS TABLE OF FILE_TYPE

 

I have written a function in the same package with following signature

 

FUNCTION getFileItems(

   a_message      IN VARCHAR(50)

   )

   return FILE_TYPE_TABLE PIPELINED;

 

There is some process inside the mentioned package function that create and assign records into FILE_TYPE.

 

Is there any method in Powerbuilder to call the above mentioned package function and get the table of type return values into PB script?

 

Thanks,

Anoop


Viewing all articles
Browse latest Browse all 2935

Trending Articles