Possible new switch

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Possible new switch

Mike Cowlishaw-3
That's a reasonable idea.  Any suggestions for a name for such a switch
(a more-or-less readable word, if possible)?

* And best wishes for the holiday season to every NetRexx user! *

--
Mike Cowlishaw
IBM Fellow, IBM UK Laboratories
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: Possible new switch

Chad Slaughter
Hello,

I think the best approach would be to use the -Denvironment.variable to
the java command that the translator can uses to determine where to
put the files.  Similar to how the current NetRexx home directory is
determined.

For those that don't know; currently you can set a Java environment
variable to tell NetRexx what directory it is in.  The default is to
use the java.home variable. (I think =) So, you can do something
like, "-Dnetrexx.home=/some/path/netrexx" on the java command line.
(its buried in the NetRexx.cmd file for those what to use it)

My suggestion is to add two variables,( netrexx.tempdir,
netrexx.outputdir) or some other appropriate name.
Then you could pass the name of the directory where you want temp
files written to and where you want final output files written.
And if directories aren't given, use the current directory.
And then the NetRexx.cmd file can be modified to add switch, if necessary.

Just my, belated, two cents,

Mike Cowlishaw wrote :>

>That's a reasonable idea.  Any suggestions for a name for such a switch
>(a more-or-less readable word, if possible)?

--
Chad Slaughter  -- [hidden email]
<PGP public key available upon request>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>