Shell script fails to run Progress procedure as a (scheduled) batch
** Could not find terminal type <type> in file <file name>. (146)
Unable to use your terminal. Check your PROTERMCAP file. (443)
Redirection or Piping of stdin or stdout is allowed only with -b.(156)
Running progress in batch mode via shell script starting from crontab.
Progress session is started with «-b» or mbpro or bpro.
Required TERM environment variable is not set.
Verify that $DLC/protermcap file contains an entry for this TERM
Then set your TERM variable within the background script.
The script running from crontab would be as follows, which has been
tested and approved:
DLC=/path_to_installed_progress ; export DLC
TERM=vt100 ; export TERM
PROTERMCAP=$DLC/protermcap ; export PROTERMCAP
# end of script