|
From: Grizzly Malchow <grizzlym@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: ADDRPYLE for a message to a writer
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Received: Wednesday, June 18, 2008, 12:58 PM
Neil, Charles, and Chuck,
Thanks for explaining the details of the messge. The
positioning of the
paramater didn't jump out at me right away, but it
makes sense now.
I don't really have an answer as far as using G instead
of I. I think
another message was being sent that needed to be replied to
when the
option I was taken, but not when option G was taken. I can
verify
whether or not that is true.
What benefit does replying with an I give me as opposed to
G? Right now
answering with a G doesn't eject a blank label prior to
printing.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Neil
Palmer
Sent: Wednesday, June 18, 2008 11:15 AM
To: Midrange Systems Technical Discussion
Subject: RE: ADDRPYLE for a message to a writer
That is not the way you calculate it.
Look at the output I included from the DSPMSGD CPA4002.
You are looking for substitution parameter &3.
It shows you &1, &2 and &3 are all 10 bytes.
Therefore &3 (the printer name) starts in 21.
I've done this on may systems and it works perfectly.
PS - and why reply with G instead of I ?
Neil Palmer, Cambridge, Ontario, Canada
(This account not monitored for personal mail, remove the
last two
letters before @ for that)
--- On Wed, 6/18/08, Grizzly Malchow
<grizzlym@xxxxxxxxxxxxxxxxxxxxx>
wrote:
From: Grizzly Malchow<grizzlym@xxxxxxxxxxxxxxxxxxxxx>
Subject: RE: ADDRPYLE for a message to a writer<midrange-l@xxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion"
Received: Wednesday, June 18, 2008, 10:06 AM
Starting at the letter V in the word Verify, by mycount,
&3 starts ingoing change the
position 29. The word printer starts in position 21.
As Pete suggested I copied the QDFTJOBD and I was
usrprf QSPLJOB to use the new job description, but Ireceived a
message stating The system user profile cannot bechanged.
At this point I think my best option is to modify thestart up of the
writers to be ALIGN(*FILE) as Charles suggested.Neil Palmer
Thanks to everyone for your help.
Griz
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Sent: Tuesday, June 17, 2008 6:27 PMwrong.
To: Midrange Systems Technical Discussion
Subject: Re: ADDRPYLE for a message to a writer
Your message data start position of 29 in CMPDTA is
always aligned, why
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 the assumption here is that the forms are
auto reply with a 'G' and waste an extra forminstead of with an 'I' ?
As an Amazon Associate we earn from qualifying purchases.
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.