|
Hi, Ken: In CL, you should be able to do a RCVMSG right after the PING command, to "receive" the COMPletion message and analyze it, including retrieving any "substitution" values, such as the values "0" and "5"... :-) Example: RCVMSG PGMQ(*SAME *) MSGTYPE(*COMP) + MSGDTA(&MSGDTA) A Display Message Description of this message ID TCP3210: DSPMSGD MSGID(TCP3210) MSGF(QSYS/QTCPMSG) selecting option "2. Display field data" reveals that the message data contains three 4-byte binary integers for the substitution variables: &1 *BIN 4 &2 *BIN 4 &3 *BIN 4 The one you want, from the message text, is "&1" which will be in the first 4 bytes of &MSGDTA. Hope this helps... Mark S. Waterbury ----- Original Message ----- From: "Graap, Ken" <keg@nwnatural.com> To: <midrange-l@midrange.com> Sent: Monday, November 25, 2002 4:19 PM Subject: RE: Check to see if TCP/IP is up > It shows up as a completion message on my system: > > Message ID . . . . . . : TCP3210 > Message type . . . . . : Completion > > Kenneth > -----Original Message----- > From: DeLong, Eric [mailto:EDeLong@Sallybeauty.com] > Sent: Monday, November 25, 2002 3:11 PM > To: 'midrange-l@midrange.com' > Subject: RE: Check to see if TCP/IP is up > > > That's listed as an escape message in the help text. Have you tried > monitoring for it? > > -----Original Message----- > From: Graap, Ken [mailto:keg@nwnatural.com] > Sent: Monday, November 25, 2002 5:06 PM > To: 'midrange-l@midrange.com' > Subject: RE: Check to see if TCP/IP is up > > > It doesn't give me an escape message... Just an information message > indicating it couldn't reach the host ... (???) > > i.e. - TCP3210 Connection verification statistics: 0 of 5 successful (0 %). > > > -----Original Message----- > From: DeLong, Eric [mailto:EDeLong@Sallybeauty.com] > Sent: Monday, November 25, 2002 2:58 PM > To: 'midrange-l@midrange.com' > Subject: RE: Check to see if TCP/IP is up > > > Ping the local host? (127.0.0.1) > > -----Original Message----- > From: Graap, Ken [mailto:keg@nwnatural.com] > Sent: Monday, November 25, 2002 4:54 PM > To: 'Midrange' > Subject: Check to see if TCP/IP is up > > > Could anyone suggest an easy way to test, from a CLP, to see if TCP/IP is > active... > > I want to startup a process, but I want to wait until TCP/IP is active > before I do. > > Kenneth > > **************************************** > Kenneth E. Graap > IBM Certified Specialist > AS/400e Professional System Administrator > NW Natural (Gas Services) > keg@nwnatural.com > Phone: 503-226-4211 x5537 > FAX: 603-849-0591 > **************************************** > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.