- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there a convenient way to automatically dump a run-time error message in a file, instead of having it displayed on screen?
Thanks,
Olivier
Thanks,
Olivier
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - opmkl
Is there a convenient way to automatically dump a run-time error message in a file, instead of having it displayed on screen?
Thanks,
Olivier
Thanks,
Olivier
Use can use
[cpp]l=SETENVQQ('FOR_DIAGNOSTIC_LOG_FILE=myFilename)[/cpp]
This still gives you the error message on screen, but writes them in a file, you declared in myFilename.
Markus
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - opmkl
Is there a convenient way to automatically dump a run-time error message in a file, instead of having it displayed on screen?
Thanks,
Olivier
Thanks,
Olivier
myprog 2> error.log
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - opmkl
Is there a convenient way to automatically dump a run-time error message in a file, instead of having it displayed on screen?
Thanks,
Olivier
Thanks,
Olivier
Use can use
[cpp]l=SETENVQQ('FOR_DIAGNOSTIC_LOG_FILE=myFilename)[/cpp]
This still gives you the error message on screen, but writes them in a file, you declared in myFilename.
Markus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Excellent! That's exactly what I was looking for.
Thanks a lot!
Olivier
Thanks a lot!
Olivier

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page