× 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.


  • Subject: Re: Display Program Messages suppression on multiple Sign on
  • From: "Peter Dow" <pcdow@xxxxxxxxx>
  • Date: Wed, 8 Dec 1999 19:40:19 -0800

Have you actually tried this? Here's my initial program, START1:

PGM
DCL        VAR(&USER)    TYPE(*CHAR) LEN(10)
RTVJOBA    USER(&USER)
CHGMSGQ    MSGQ(&USER) DLVRY(*NOTIFY)
MONMSG     MSGID(CPF2451)
ENDPGM

the relevant portions of my user profile:

Message queue  . . . . . . . . . . . . . . :   CC_PGMPCD
  Library  . . . . . . . . . . . . . . . . :     QUSRSYS
Message queue delivery . . . . . . . . . . :   *HOLD


and here's the program stack when I signon to session B and get the error
message:

Procedure   Library     Statement        Instruction
QWTPIIPP    QSYS                            0462
QMHCHMSQ    QSYS                            079D
QMHSNDPM    QSYS                            0298
QMHDSEXT    QSYS                            00FB
QDMACCIN    QSYS                            013A

As you can see, it hasn't gotten around to calling my initial program yet.


----- Original Message -----
From: Al Barsa, Jr. <barsa2@ibm.net>
To: <MIDRANGE-L@midrange.com>
Sent: Wednesday, December 08, 1999 4:32 PM
Subject: Re: Display Program Messages suppression on multiple Sign on


> At 01:01 PM 12/08/1999 -0800, you wrote:
> You must first change the user profile with the Change User Profile
> (CHGUSRPRF) command, and add/modify the initial program to run the CHGMSGQ
> to the desired state, followed by the appropriate MONMSG, which I
mentioned
> yesterday.
>
> Al
>
>
> >No, I tried it on a V4R3 system. After changing my user profile to
> >DLVRY(*HOLD), I signed off, signed on as session A. Then I signed on to
> >session B. No message, as advertised.
> >
> >Then I signed both sessions off and signed on to session A and did
> >
> >  CHGMSGQ MSGQ(userid) DLVRY(*NOTIFY)
> >
> >Then when I signed on to session B, I get the message about the queue
> >already being allocated.
> >
> >
> >
> >----- Original Message -----
> >From: Rob Berendt <rob@dekko.com>
> >To: <MIDRANGE-L@midrange.com>
> >Sent: Wednesday, December 08, 1999 6:09 AM
> >Subject: Re: Display Program Messages suppression on multiple Sign on
> >
> >
> > > You probably ignored the first part of Al's message.
> > > > Change the user profile message queue parameter to *HOLD mode
> > >
> > >
> > >
> > >
> > > pcdow@yahoo.com on 12/08/99 02:23:17 AM
> > > Please respond to MIDRANGE-L@midrange.com@Internet
> > > To: MIDRANGE-L@midrange.com@Internet
> > > cc:
> > > Fax to:
> > > Subject: Re: Display Program Messages suppression on multiple Sign on
> > >
> > > The first part works, but if the initial program on any session
changes
> >the
> > > delivery to *BREAK or whatever, it has allocated the message queue and
> > > subsequent sessions get the
> > >
> > > >"Job 224213/USER/DEVICE started on MM/DD/YY at HH:MM:SS in subsystem
> > > >QINTER Message queue USER is allocated to another job."
> > >
> > > message.
> > >
> > >
> > > From: Al Barsa, Jr. <barsa2@ibm.net>
> > > > Change the user profile message queue parameter to *HOLD mode, and
then
> > > > change the initial program to put the message queue into *BREAK (or
> > > > whatever you like) mode, followed by MONMSG CPF2451.
> > >
> > > > +---
> > > > | This is the Midrange System Mailing List!
> > > > | To submit a new message, send your mail to
MIDRANGE-L@midrange.com.
> > > > | To subscribe to this list send email to
MIDRANGE-L-SUB@midrange.com.
> > > > | To unsubscribe from this list send email to
> > > MIDRANGE-L-UNSUB@midrange.com.
> > > > | Questions should be directed to the list owner/operator:
> > > david@midrange.com
> > > > +---
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Thousands of Stores.  Millions of Products.  All in one place.
> > > Yahoo! Shopping: http://shopping.yahoo.com
> > >
> > > +---
> > > | This is the Midrange System Mailing List!
> > > | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> > > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> > > | To unsubscribe from this list send email to
> >MIDRANGE-L-UNSUB@midrange.com.
> > > | Questions should be directed to the list owner/operator:
> >david@midrange.com
> > > +---
> > >
> > >
> > > +---
> > > | This is the Midrange System Mailing List!
> > > | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> > > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> > > | To unsubscribe from this list send email to
> >MIDRANGE-L-UNSUB@midrange.com.
> > > | Questions should be directed to the list owner/operator:
> >david@midrange.com
> > > +---
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Thousands of Stores.  Millions of Products.  All in one place.
> >Yahoo! Shopping: http://shopping.yahoo.com
> >
> >+---
> >| This is the Midrange System Mailing List!
> >| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> >| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> >| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> >| Questions should be directed to the list owner/operator:
david@midrange.com
> >+---
>
>
>
> +--------------------------------------------------+
> | Please do not send private mail to this address. |
> | Private mail should go to barsa@ibm.net.         |
> +--------------------------------------------------+
>
> Al Barsa, Jr. - Account for Midrange-L
> Barsa Consulting, LLC.
> 400 > 390
>
> Phone: 914-251-1234
> Fax: 914-251-9406
> http://www.barsaconsulting.com
> http://www.taatool.com
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator:
david@midrange.com
> +---


__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

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.