Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> [Report 2.5 Runtime Win 3.11] Passing value arguments with spaces

[Report 2.5 Runtime Win 3.11] Passing value arguments with spaces

From: Anton Zimmermann <Anton.Zimmermann_at_bfi.admin.ch>
Date: 1997/04/28
Message-ID: <5k2e15$5gj@fwsrva.bfi.admin.ch>#1/1

I tried to execute Oracle Reports 2.5.4.0.8 Runtime with some value arguments in the Windows command line. There are no problems using arguments without any spaces, but with arguments containing spaces (i.e. printer names for keyword DESNAME).

The following command line (DESNAME-arguments in single quotes)

  r25run.exe MODULE=emplist USERID=scott/tiger_at_XXX DESTYPE=printer   DESNAME='HP Deskjet 510 Printer'

will give the following (invalid) Destination Name in the Runtime Parameter form:

  HP 'Deskjet' '510' 'Printer'  

Using double quotes will also generate an invalid Destination:

 "HP 'Deskjet' '510' 'Printer"'

Same problem when executing with WinExec from other applications.

Some ideas about this problem?

---
Anton Zimmermann, Systemprogrammer
Swiss Federal Office of Information Technology and Systems

E-mail: anton.zimmermann_at_bfi.admin.ch
Voice : +41/31/325-9724; Fax:    +41/31/325-9767
Mail  : Steigerhubelstr. 3, CH-3003 Berne, Switzerland
Received on Mon Apr 28 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US