|
Joe D wrote:
Hi Jerry,I had similar troubles and it turned out to be an issue with an extra space AFTER FileProtocolHandler. The extra space would cause the program to run for a few seconds then do nothing.Look at these two sources: PGM PARM(&PKG) DCL VAR(&PKG) TYPE(*CHAR) LEN(18) DCL VAR(&CMD) TYPE(*CHAR) LEN(255) STRPCO MONMSG MSGID(IWS4010) /* TWO spaces after FileProtocolHandler */ CHGVAR VAR(&CMD) VALUE('rundll32 + url,FileProtocolHandler + http://wwwapps.ups.com/WebTracking/processI+ nputRequest?&tracknum=' *CAT &PKG) STRPCCMD PCCMD(&CMD) PAUSE(*NO) ENDPGM ************ PGM PARM(&PKG) DCL VAR(&PKG) TYPE(*CHAR) LEN(18) DCL VAR(&CMD) TYPE(*CHAR) LEN(255) STRPCO MONMSG MSGID(IWS4010) /* ONE spaces after FileProtocolHandler */ CHGVAR VAR(&CMD) VALUE('rundll32 + url,FileProtocolHandler + http://wwwapps.ups.com/WebTracking/processI+ nputRequest?&tracknum=' *CAT &PKG) STRPCCMD PCCMD(&CMD) PAUSE(*NO) ENDPGMThe version with ONE space works fine. The version with TWO does nothing after a short delay.Maybe this was your issue?JD
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.