This is weird.
I created the following function in STRSQL:
CREATE FUNCTION PGMRUTOOL/BBFLSTSTS (APPYER DECIMAL(2,0),
APPNBR DECIMAL(8,0))
RETURNS CHAR(60)
LANGUAGE RPGLE
NOT DETERMINISTIC
EXTERNAL NAME 'PGMRUTOOL/BBRLSTSTS(BBPLSTSTS)'
PARAMETER STYLE GENERAL
Nicely, I get this message:
CREATE FUNCTION statement complete
I am able to run the function in STRSQL and get the desired result. But when I search for the object, using --
WRKOBJ PGMRUTOOL/BBFLSTSTS
- or even -
WRKOBJ *ALL/BBFLSTSTS
The *SRVPGM does not exist.
I created the following function in STRSQL:
CREATE FUNCTION PGMRUTOOL/BBFLSTSTS (APPYER DECIMAL(2,0),
APPNBR DECIMAL(8,0))
RETURNS CHAR(60)
LANGUAGE RPGLE
NOT DETERMINISTIC
EXTERNAL NAME 'PGMRUTOOL/BBRLSTSTS(BBPLSTSTS)'
PARAMETER STYLE GENERAL
Nicely, I get this message:
CREATE FUNCTION statement complete
I am able to run the function in STRSQL and get the desired result. But when I search for the object, using --
WRKOBJ PGMRUTOOL/BBFLSTSTS
- or even -
WRKOBJ *ALL/BBFLSTSTS
The *SRVPGM does not exist.