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

Responding to inquiry messages in CL programs

1,336 views
Skip to first unread message

R.G.

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
Hi,

How can I automaticaly respond to a CPA* message in a CL program? I know
the message ID and the message default response is the one to go.
I've tried MONMSG but it doesn't seem to work with this type of message.

thank's in advance

Rui Gonçalves

Anton Meyer

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
In article <8erhj4$9i9$1...@duke.telepac.pt>,
I've been down this road also. It is only possible to monitor for
Escape, Notify and Status messages in a CL program. Instead I added an
entry into the System Reply List (WRKRPYLE). This may be your answer,
depending on what you are trying to achieve. For instance, you could
use the ADDRPYLE and RMVRPYLE commands in your program if you only want
the list entries to be active while it is running.

Hope this is of use,

Anton Meyer

Sent via Deja.com http://www.deja.com/
Before you buy.

R.G.

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
> I've been down this road also. It is only possible to monitor for
> Escape, Notify and Status messages in a CL program. Instead I added an
> entry into the System Reply List (WRKRPYLE). This may be your answer,
> depending on what you are trying to achieve. For instance, you could
> use the ADDRPYLE and RMVRPYLE commands in your program if you only want
> the list entries to be active while it is running.
>
> Hope this is of use,
>
> Anton Meyer


I added an entry into the System Reply List but the message keeps bugging
me. Does all the messages in the System Reply List are handled by the
system? Do I have to set any special parameter anywere? (job, program
compilation...)
The message i'm getting is the CPA7025 and it only receives two answers 'I'
or 'C'.

Thank's
Rui Gonçalves

R.G.

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
> I added an entry into the System Reply List but the message keeps bugging
> me. Does all the messages in the System Reply List are handled by the
> system? Do I have to set any special parameter anywere? (job, program
> compilation...)
> The message i'm getting is the CPA7025 and it only receives two answers
'I'
> or 'C'.
>
> Thank's
> Rui Gonçalves


Got it... It's the INQMSGRPY parameter in the job attribute, thank's Anton.

kbo...@my-deja.com

unread,
May 4, 2000, 3:00:00 AM5/4/00
to
<prev>

I added an entry into the System Reply List but the message keeps
bugging me. Does all the messages in the System Reply List are handled
by the system? Do I have to set any special parameter anywere? (job,
program compilation...)

The message i'm getting is the CPA7025 and it only receives two answers
'I' or 'C'.
Thank's
Rui Gonçalves

<end prev>

If the program is submitted, there is an option on the SBMJOB command
that controls whether the system reply list is used. I think parameter
name is "INQMSGRPY". The default value is to use the value on the job
description. It can be forced to something like *SYSRPL.

I don't know for certain, but it would seem to follow that you can
change the job description that the program is using to also have this
value. I'd be careful about changing any shared job descripitions
though.

Kevin Bogue
Austin, Texas

Anton Meyer

unread,
May 5, 2000, 3:00:00 AM5/5/00
to

> Got it... It's the INQMSGRPY parameter in the job attribute, thank's
Anton.
>

No problem. Sorry - forgot the bit about the job attribute; it was a
while ago now ! See message 5 also - he made a good point. I
submitted my job and used INQMSGRPY(*SYSRPYL).

Regards

Anton Meyer

0 new messages