return code wierdness
Posted in 1994
Could one of you informix blokes explain this? 1) From 4gl: RUN command RETURNING retcode # Command exits with a return code of 4 DISPLAY retcode # displayed value is 256*4 - or 1024 2) From 4gl: exit program 3 OS says return code is 3 3) From 4gl: exit program -3 OS says return code is 253 (256 + return code) mazeltof j. _____________________________________________________________________________ Jack Parker | Hewlett Packard, BSMC Boise, Idaho, USA| Domini, Domini, Domini jparker@hpbs3645.boi.hp.com | you're all Catholic now. (208) 396-5388 (W) (208) 384-1623 (H) | - FT _____________________________________________________________________________ Any opinions expressed herein are my own and not those of my employers. _____________________________________________________________________________