|
Art: PING may tell you if there's an available route to the remote system, but I don't know how to make it tell you if DDM is available. I'm not sure any CL program can tell you that except for maybe something that does a RUNRMTCMD and sends a WRKSBSJOB *PRINT across, then processes the returned spooled file to see if the DDM job is listed. Not a trivial task. And of course the remote command server must be active first. Alternatively, I suppose you could do a copy from a DDM file and see what happens. The CL could monitor for errors. You might need to write an RPG program to actually connect via sockets to the DDM server job to see what errors, if any, occur. I've done similar things and it's a fair introduction to sockets programming. But a CLP it ain't. Tom Liotta midrange-l-request@xxxxxxxxxxxx wrote: > 5. CLP to decide if DDM file is available? (Art Tostaine, Jr.) > >We are using DDM over TCP/IP. I need to know if the file is available. >Mostly we are interested in communications issues, we already handle >times the file might not be available. > >Previously with SNA I would just check the device status. > >Now I guess I need to check PING results? -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertech.com __________________________________________________________________ New! Unlimited Netscape Internet Service. Only $9.95 a month -- Sign up today at http://isp.netscape.com/register Act now to get a personalized email address! Netscape. Just the Net You Need.
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.