Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Progress Program From Unix

Status
Not open for further replies.

noprogress

Technical User
Mar 7, 2003
2
US
I am trying to run a compiled Progress program which requires a user input from the UNIX command line. After
getting the user input the program creates writes a
report to a file and will then be sent to a print que.
The program runs fine in the Progress editor, but when
I try to run it from the UNIX command line I get the
message:
** There is no terminal. (120)
lp: cannot access /u/sys/data/report

I have a few other programs that run from the UNIX
command line, but none that require a user input.
I am using Progress version 7.3 and SCO UNIX 7.1.



 
what does your command line look like?
make sure there is no -b parameter and it is not using bpro or mbpro.
 
I log into UNIX and go to the specific directory and
then type ./report.sh and get the error message.
./report.sh here is what the .sh loos like:

/u/sys/dlcfp/bin/_progres -db /u/sys/db/handy -yy 1910 -b -p /u/sys/db/ci.r
cd /u/sys/data
lp -d printer5 /u/sys/data/report

I have taken out the -b and the script works. Is there anything else that might streamline the process.

THANKS!!!
 
Depends what you mean by streamlining.....

the cd command is unecessary because you use an absolute reference on the lp command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top