Ret value from RUN in 4GL
Posted in 1994
Topics: Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL
When I RUN a command from 4GL: ... define rc integer run "unix_command" returning rc if rc != 0 then display rc -- Often some different number than it "should" be else display rc -- Always 0 end if ... the return value is often not what I expected. I can test against 0 explicitly. Is this some type of integer size mismatch? Thanks, Craig Ludington craigl@craigl.pr.mcs.net #---------------------- Informix Configuration -------------------# # # # Network: Twisted Pair Ethernet # # Database space: character file # # # # Server (HP 715-75) uses: # # ONLINE Engine 5.01 UD1 # # I-STAR 5.01 UD1 # # # # Client (HP 715-50) uses: # # I-4GL - 4.11 UC4 # # RDS - 4.11 UC4 # # ESQL/C - 5.01 - UD1 # # I-NET - 5.01 - UD3 # # I-4GL ID - 4.11 UC4 # # I-SQL - 4.11 UC3 # # # #---------------------- Informix Configuration -------------------#