For Programmers: Free Programming Magazines  


Home > Archive > Cobol > September 2005 > SPFPC -3.J SPFCMDS Set up









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author SPFPC -3.J SPFCMDS Set up
PAM.

2005-09-14, 3:55 am

Not sure if this place is the right place but it's all I've got :-(

I'm trying to set up a command in SPFPC so that when I type SQL, it will
invoke SQL-server 2000's isqlw.exe
Not I have it working OK. However, it's in foreground and I'd like it in
background so I can run other apps.
My command line is
SELECT PGM("C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe")

I've done this before and got it working (a couple of years ago on another
PC), and I can't seem to think how to do it now.

Any help would be appreciated.

Peter


Binyamin Dissen

2005-09-14, 6:55 pm

On Wed, 14 Sep 2005 15:22:56 +1200 "PAM." <JunkMail@FishnChips.com> wrote:

[Posted and mailed]

:>Not sure if this place is the right place but it's all I've got :-(
:>
:>I'm trying to set up a command in SPFPC so that when I type SQL, it will
:>invoke SQL-server 2000's isqlw.exe
:>Not I have it working OK. However, it's in foreground and I'd like it in
:>background so I can run other apps.
:>My command line is
:>SELECT PGM("C:\Program Files\Microsoft SQL Server\80\Tools\Binn\isqlw.exe")
:>
:>I've done this before and got it working (a couple of years ago on another
:>PC), and I can't seem to think how to do it now.
:>
:>Any help would be appreciated.

SELECT PGM("COMMAND /C C:\Program Files\Microsoft SQL
Server\80\Tools\Binn\isqlw.exe")

?

--
Binyamin Dissen <bdissen@dissensoftware.com>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
PAM.

2005-09-14, 6:55 pm

"Binyamin Dissen" <postingid@dissensoftware.com> wrote in message

> SELECT PGM("COMMAND /C C:\Program Files\Microsoft SQL
> Server\80\Tools\Binn\isqlw.exe")


Nope. However, checking some documentation I had at home, I found this,
which works

SELECT BACKPGM("C:\Program Files\Microsoft SQL
Server\80\Tools\Binn\isqlw.exe")

I'm sticking this in here so I can search through Google later on if I need
to do this again
:-)

Cheers
Peter


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com