Operating System - OpenVMS
1753380 Members
5483 Online
108792 Solutions
New Discussion

Urgent: how to read file created using "mc ncp set logging"

 
Balaji Deshpande
New Member

Urgent: how to read file created using "mc ncp set logging"

am creating a file using a commadn procedure and it has

$mc ncp set logging file name 'bkd'
$mc ncp set logging file state on
I wait for some time
$mc ncp set logging file state off.

I get this NCP monitor file like "bkd.dat" but I do not know how to read this "bkd.dat" file, does any one one on forum know how to read such type of ncp monitor file?

Appreciate if you could let me know.

Thanks and regards,
BKD
1 REPLY 1
John Gillings
Honored Contributor

Re: Urgent: how to read file created using "mc ncp set logging"

BKD,

This might sound really dumb, but there isn't any mechanism to read a binary monitor file.

Logging was implemented because the architecture said it should be, but no one ever implemented a utility to decipher the binary log file. No one asked for one at the time DECnet IV was in active development. It won't happen now, unless someone reverse engineers the record format, rolls their own and releases it as freeware. I don't imagine that to be high on anyone's priority list.

All is not lost though... you should be able to get something reasonably useful with:

$ MCR NCP SET LOGGING CONSOLE KNOWN EVENTS
$ MCR NCP SET LOGGING CONSOLE NAME bkd
$ MCR NCP SET LOGGING CONSOLE STATE ON

The resulting file should be readable text.
A crucible of informative mistakes