Discussion:
MSGF download
(too old to reply)
tom
2004-05-12 11:23:39 UTC
Permalink
Hi.
I would like to download somehow MSGF file to my PC. It has to contain
MSGID, First and Second level message text.
Does anybody has any idea how to do it?
Regards,
Tom
Kirk Goins
2004-05-12 13:12:18 UTC
Permalink
Use the DSPMSGD cmd and with *PRINT. Then Use OPS Nav to copy the
spoolfile to your desktop or where ever..
Post by tom
Hi.
I would like to download somehow MSGF file to my PC. It has to contain
MSGID, First and Second level message text.
Does anybody has any idea how to do it?
Regards,
Tom
Paul Allen
2004-05-12 14:49:12 UTC
Permalink
Post by tom
I would like to download somehow MSGF file to my PC. It has to contain
MSGID, First and Second level message text.
Does anybody has any idea how to do it?
It does not look like there are any supported interfaces for doing this.
Given a message ID, it is simple to retrieve the description for that
message. But there does not appear to be an API for retrieving a list of
all the message IDs in a message file.

The only work around I can see is using DSPMSGD *PRINT, but we all know
the horrors of trying to parse spooled file output whose format can
change from one national language to another, from one release to the
next, or (theoretically, but very rarely) after applying a PTF.
Barbara Morris
2004-05-12 19:31:41 UTC
Permalink
Post by Paul Allen
It does not look like there are any supported interfaces for doing this.
Given a message ID, it is simple to retrieve the description for that
message. But there does not appear to be an API for retrieving a list of
all the message IDs in a message file.
You can use QMHRTVM to retrieve all the messages one by one. Specify
*FIRST and then *NEXT for the "retrieve option" parameter.
J Blooker
2004-05-14 20:45:56 UTC
Permalink
If you just need to 'see' them all in a text file, I use this command

DSPMSGD RANGE(*FIRST *LAST) MSGF(MSGFLIB/MSGFNAM) DETAIL(*BASIC)
FMTTXT(*YES) OUTPUT(*PRINT)


then email the spool file to me-self.

Don't know for sure if it does 2nd level.

Gotta go, it's the weekend.

John B.
Post by tom
Hi.
I would like to download somehow MSGF file to my PC. It has to contain
MSGID, First and Second level message text.
Does anybody has any idea how to do it?
Regards,
Tom
Loading...