ignore function after x seconds powerbuilder

Viewed 13

I'm newbie in powerbuilder. I have this function from DLL library

FUNCTION long GET_SERVICE_FILE(param list..) LIBRARY "PB_GET_SERVICE_DATA.dll" alias for "GET_SERVICE_FILE;Ansi"

I don't write that so i don't know what is it doing. After call function, a txt file created. Maybe it get data from database and wirte to TXT file.

My problem: sometime that function cannot finish (longtime execute without message/error) and hang up my app.

My question: is it possible setting time waiting for function execute? after time period, ignore function and go to next step.

Thanks and best regards.

Loc Nguyen.

0 Answers
Related