var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: function for getting environment variables in procedure
How do I get enviromnent variables in stored procedure codes?
I don't know which build-in function or keyword can let me get
environment variables in stored procedure codes.
4GL function, fgl_getenv, cannot be resolved for procedure
I added a 4GL function, fgl_getenv, for the stored procedure.
674: Routine (fgl_getenv) can not be resolved.
create procedure p1() returning CHAR(10);
define ret1 CHAR(10);
let ret1 = fgl_getenv("USER"); -- environment variable USER for example
How should I do? If I need to get environmnet variables when I
execute this stored procedure.
Reading environment variables in stored procedures
Hi, can you tell me if you found a solution to reading environment variables into a stored procedure, either getting fgl_getenv to work or by another method?
you can create a stored procedure by linking a .so issued from a C program, and even from a 4gl program
In this case you just need the getenv() C function
I just created that procedure into one database and had no problem...
This procedure is created in the database and then you call it. You don't need 4GL for it, However you can use also fgl_getenv(" ENVIRONMENT VARIABLE").