× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Your message data start position of 29 in CMPDTA is wrong.

DSPMSGD CPA4002 shows:
Verify alignment on printer &3.

Field Data Type Length
&1 *CHAR 10
&2 *CHAR 10
&3 *CHAR 10
&4 *BIN 2
&5 *CHAR 10
&6 *CHAR 10

You can see that &3 starts in 21, not 29.

Also, if teh assumption here is that the forms are always aligned, why auto reply with a 'G' and waste an extra form instead of with an 'I' ?

Neil Palmer, Cambridge, Ontario, Canada

(This account not monitored for personal mail,
remove the last two letters before @ for that)


--- On Tue, 6/17/08, Grizzly Malchow <grizzlym@xxxxxxxxxxxxxxxxxxxxx> wrote:

From: Grizzly Malchow <grizzlym@xxxxxxxxxxxxxxxxxxxxx>
Subject: ADDRPYLE for a message to a writer
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Received: Tuesday, June 17, 2008, 2:18 PM

We have a label printer named PRT28 in our warehouse that
always sends
the following message when label stock is switched.
Verify alignment on printer PRT28. (I G N R E C)
Currently I answer the message by doing WRKWTR , taking
option 7 and
replying with a G.

The message ID is CPA4002.
I ran the following command to add the message to the
system reply list
:
ADDRPYLE SEQNBR(100) MSGID(CPA4002) CMPDTA('PRT28'
29) RPY(G)

Adding the reply didn't do what I hoped it would
because I still have to
answer the message.
I'm guessing that is because the writer is allocated
to the QSPLJOB
user profile and it uses the QDFTJOBD job description,
which has
INQMSGRPY set to *RQD.

Can anyone tell me if it would be a bad idea to change
QDFTJOBD to use
*SYSRPYL insead of *RQD in the INQMSGRPY field? If so can
anyone offer
some alternatives?

Thanks in advance,
Griz



__________________________________________________________________
Looking for the perfect gift? Give the gift of Flickr!

http://www.flickr.com/gift/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.