PC DOS 4GL 
Author Message
 PC DOS 4GL

When using the "run" command in 4gl application

   that executes a .bat file

       that does

           set DBPRINT=lpt1
           4glprog parm1 parm2 parm3

I get this error message

    Spawn failed: no such file or directory

Anybody have any idea where this comes from?

The applications seem to work ok.

When the batch file is run standalone error does not appear. The
error seems to occur immediately after the return from the "run
command".

--
Michael J. Kuhn  Consultant  phone:410-254-7060

       c/o Baltimore Rh Typing Laboratory, Inc.  phone:410-225-9595



Sun, 28 May 1995 05:35:22 GMT
 PC DOS 4GL


Quote:
>When using the "run" command in 4gl application
>   that executes a .bat file
>       that does
>           set DBPRINT=lpt1
>           4glprog parm1 parm2 parm3

>I get this error message
>    Spawn failed: no such file or directory
>Anybody have any idea where this comes from?

RUN can only handle actual executables.  You *may* be able to run it
by running "COMMAND /someswitch 4glprog parm1 parm2 parm3"
(since command.com is the actual executable you want to run; I think
some switch tells it to go run a batch file and exit).

Make sure your RUNned 4gl program doesn't switch or close databases...

Quote:
>When the batch file is run standalone error does not appear. The
>error seems to occur immediately after the return from the "run
>command".
>--
>Michael J. Kuhn  Consultant  phone:410-254-7060

>       c/o Baltimore Rh Typing Laboratory, Inc.  phone:410-225-9595

--

  Our children call him "Daddy"; they refer to me as "Sir"
  In all our family pictures he is standing next to her
  For Christmas he bought her a pair of hand{*filter*}and a whip
  Sometimes I think it's put a strain on our relationship
                    -- "He's Just a Friend", Austin Lounge Lizards



Mon, 29 May 1995 13:50:05 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Loading PC Keyboard Buffer from 4GL

2. PC 4gl and MSC 6.0

3. Features in 4GL RDS IBM/PC

4. Problem on 4GL on PC

5. Inporting Data from Informix 4GL to some envirnment in a PC

6. Inporting Data from Informix 4GL to some environment in a PC

7. ODBC drivers to SQL on DOS PC

8. 19478-NC-GREENSBORO-PC-DOS-Windows 95-UNIX-C++-SQL-Technical Writer

9. 19406-NC-GREENSBORO-IBM Mainframe-C++-Windows 95-DOS-Windows NT-Quest-PC-Programmer/Analyst

10. 19478-NC-GREENSBORO-PC-DOS-Windows 95-UNIX-C++-SQL-Technical Writer

11. 19478-NC-GREENSBORO-PC-DOS-Windows 95-UNIX-C++-SQL-Technical Writer


 
Powered by phpBB® Forum Software