In the 4GL code you will need to assign the CHAR to memory with "LOCATE l_blob IN MEMORY" for a variable like:
DEFINE l_blob text,
l_char char(1978)
SYNTAX:
LOCATE l_blob IN MEMORY
let l_blob = l_char
From here you can insert into the text...
If you want some SQL statements to execute only if certain conditions are met, then you will just need to put them in a CASE or IF statement. If you mean that you want to execute them outside of a transaction, that's not really possible, unless you first issue a COMMIT WORK or ROLLBACK WORK...
If its a path problem, you should get error output that says something about not finding a particular library. Check your LD_LIBRARY_PATH on both machines to make sure.
Alternatively, one machine may not catch a syntax error because its compiler is different than the other. In other words, one...
There may be a C routine that can be compiled into the 4gl code that can do this, but by default the only thing returned to the 4gl program from a system call is the exit status. What I have done in the past, for instance to return the PID of a processes started, such as another 4gl program, is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.