Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Messages from printer device

30 views
Skip to first unread message

SICAT

unread,
Oct 4, 1996, 3:00:00 AM10/4/96
to

We are developing a emulation of WRKSPLF to include some functionality. We
are able to execute all options except 7=Messages.

How can we show these messages from a specific printer?

Thanks in advance!
--
SICAT Sistemes d'informació
Filadors, 25 9-4
08208 Sabadell
Spain

Tel: 34-3-7231982
Fax: 34-3-7231063

e-mail: si...@bcn.servicom.es

The TEAMIBM Network

unread,
Oct 10, 1996, 3:00:00 AM10/10/96
to

Anonymous SICAT,

>> We are developing a emulation of WRKSPLF to include some
functionality. We are able to execute all options except 7=Messages.

How can we show these messages from a specific printer? <<

Hmmm, I've been involved in similar discussions many times before...
I know of no API to do so for any job, and the function is conspicuously
missing from WRKJOB. Specifically, this should be available IMO via a
request:
WRKJOB JOB() OPTION(*MSGW) /* or perhaps OPTION(*DSPMSGW|*MSGWAIT) */

However you are in luck, since the message key and queue name _both_ are
available since V3R1M0 from API QSPRWTRI. Get the writer info from
the QUSRSPLA <I think that's what you are using>, and then use this
other API to get the message queue and message key. Note this only
applies to writers so for a roll-your-own WRKACTJOB... no joy.

After that you are part-way there. Unfortunately there is no API
that I know of to effect the panel "Additional Message Information"
with the reply line ready to accept input for a response given the
message queue and message key. So... you would have to roll-your-own
or perhaps get one from somebody who has already done that. This will
require a combination of RCVMSG and RTVMSG functions <there are APIs>
and SNDRPY after the user enters a reply. My suggestion for an API or
even the noted enhancement for WRKJOB handles this. I hope this helps.

BTW, please don't anyone hesitate to correct me if I am wrong on any
account... I have not kept a close watch on this stuff <ie. beyond V3R1>

Chuck Pence
-- Comments provided "as is" with no warranties of any kind whatsoever.

0 new messages