fg = foreground bg = background
I have a cobol program that I start with a very simple script.
The script is not at fault as it has not changed and the program worked in fg and bg before.
I have altered the logging in the program and moved my cursor declare to working storage.
The program runs as a daemon sleeping and checking every minute if it needs to run.
now when I run in foreground - it works creating the log file and reading the records from the oracle database
when run ./start_script& (in background)
no log file in /tmp
no records selected from oracle although in exact state as those set for foreground test?
Any help appreciated