At 11:42 PM 5/18/2005, Dennis Fleming wrote:
All your checks were fine but the keyword here is WAIT!!!!
After the LAUNCH command my next line is:
DELETE XCROSSTAB.TXT
So without the || W option, RBase continues processing and
the file is long gone before NotePad tries to open it.
Dennis,
Yes, you'll need to use the "W" (Wait Until Finished) option
if you want the main application to sleep while the launched
process is running.
Very Best R:egards,
Razzak.
At 10:45 PM 5/18/2005, you wrote:
At 10:21 PM 5/18/2005, Dennis Fleming wrote:
In our app, a Notepad file is created and then Launched:
OUTPUT XCROSSTAB.TXT
WRITE ...
CROSSTAB ...
OUTPUT SCREEN
LAUNCH XCROSSTAB.TXT
...
The launch fails because it is looking for an explicit
file name and not just the default folder.
This use to work. Do all file names need a full pathname?
Dennis,
A few suggestions to test the exact scenario.
01. Make sure that the .TXT is not file associated with anything
else. The default is Notepad.
02. Have you checked the existence of a TXT file in the same
directory?
03. What happens if your try the exact steps at the R> prompt?
04. What if you try the same scenario to create a PDF file and
then use the LAUNCH command?
Example:
OUTPUT XCROSSTAB.PDF PDF
WRITE ...
CROSSTAB ...
OUTPUT SCREEN
LAUNCH XCROSSTAB.PDF
Hope that helps!
Very Best R:egards,
Razzak.