|
OK, but how do I send an inquiry to *SYSOPR. API QMHSNDM doesn't allow special value *SYSOPR as message queue. I hoped that there was one API that can decide by itself how to send the message, to *EXT or to *SYSOPR. Like command SNDUSRMSG does it. > -----Ursprüngliche Nachricht----- > Von: c400-l-bounces+t_kruse=esw-kg.de@xxxxxxxxxxxx > [mailto:c400-l-bounces+t_kruse=esw-kg.de@xxxxxxxxxxxx]Im Auftrag von > Ulrich, Kent > Gesendet: Mittwoch, 19. Januar 2005 13:34 > An: C programming iSeries / AS400 > Betreff: RE: [C400-L] Sending inquiry message in batch job > > > The *EXT message queue only applies to interactive jobs. From a > batch job you need > send the message to a user or workstation message queue. > > Kent > > > -----Original Message----- > From: Titus Kruse [mailto:T_Kruse@xxxxxxxxx] > Sent: Wednesday, January 19, 2005 7:24 AM > To: Midrange-C > Subject: [C400-L] Sending inquiry message in batch job > > > Hi! > > I know, this is not a typical C-question. But in this group are the > programmers. > > I'm sending an inquiry-message by API QMHSNDPM with type *INQ to the > external message-queue *EXT and receive the answer wirh API QMHRCVPM. When > the job is running interactive, the user can enter a reply for the > inquiry-message. But running in batch, the default reply was send. This is > documented by IBM in the API guide. > > But how do I send an inquiry in a batch-job? Like SNDUSRMSG does it. I've > tried QMHSNDM (nonprogram message), but this API didn't send the > message to > the external message queue. > > > Titus Kruse > Software-Entwicklung IBM iSeries > ESW Software Warda KG (GmbH & Co.) > Telefon: +49.40.682893.22 > E-Mail: t_kruse@xxxxxxxxx > Web: www.esw-kg.de > > _______________________________________________ > This is the C programming iSeries / AS400 (C400-L) mailing list > To post a message email: C400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/c400-l > or email: C400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/c400-l. > > > _______________________________________________ > This is the C programming iSeries / AS400 (C400-L) mailing list > To post a message email: C400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/c400-l > or email: C400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/c400-l. > >
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.