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



On 21-Nov-2014 16:11 -0600, Gary Thompson wrote:
I can't hardly spell TCP and a remote server admin has asked for:
• A 'traceroute' to the server name
• A 'traceroute' to the IP

I'm currently running one on the IP
For about five minutes now.
Currently shows "probing possible routes"

What I would like to know is how best to capture and get the output
to this person ?

Probably not _the best way_, but I believe the following script [performed in a new job] should produce spooled output that would resemble what they might expect to see; the actual traceroute request is not included with the given selection [but the Query Select could be extended to do so], and the query requests Arrival sequence processing so as to avoid ordering [per KEYFLD(*FILE) specification and the assumption that the output file is not keyed]:

crtpf qtemp/QMHMDT rcdlen(130) mbr(*none)
traceroute rmtsys( the_remote_server ) output(*msg)
dspjoblog output(*outfile) outfile(qtemp/jl) outmbr(*n *replace)
opnqryf qtemp/jl keyfld(*file) format(qtemp/QMHMDT)
qryslt(' qmhmid *ct "CPF98" *OR qmhmid *CT "TCP" ')
cpyfrmqryf jl qsysprt /* rplunprt(*yes ' ') _assumed_ */
clof jl
dltf qtemp/QMHMDT
dspsplf qsysprt splnbr(*last)

Repeat the above script in a new job, but replacing the_remote_server with the IP naming instead of the server name.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.