Trace to file (Win95)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Trace to file (Win95)

Mike Cowlishaw-3
> I'm writing an applet under Win95 and need to put trace to a file.
> The NetREXX docs say that tracing can be done to a file but don't say
> how.  How?

You need to redirect the output to a file.  Win95 is a special case
because it doesn't allow redirection of stderr (<sigh>), so you will
need to specify the TRACE1 option (see the Supplement documentation).
Something like this will compile 'foo.nrx', run it, and save all
output to a file called 'my.log':

  nrc -run foo -trace1 > my.log

--
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>