Sponsors
Search
Link to our site
Learning Resources
PGM PARM(&SITE) DCL VAR(&CMD) TYPE(*CHAR) LEN(120) DCL VAR(&SITE) TYPE(*CHAR) LEN(30) CHGVAR VAR(&CMD) VALUE('rundll32.exe + shell32,ShellExec_RunDLL ' *BCAT + 'http://www.' *CAT &SITE *TCAT '.com') STRPCO PCTA(*NO) MONMSG MSGID(IWS4010) STRPCCMD PCCMD(&CMD) PAUSE(*NO) ENDPGM With PC Organizer started(strpco) you can, from command line, cl program, rpg with qcmdexc, issue command strpccmd 'start http://www.domain.com/yada/yada.html' we use this function here to autolaunch archived pdfs of customer bills driven from a green screen app. The command below launches the FILE, which by default uses the associated app for the type *.pdf(adobe reader) strpccmd 'start \\servername\YYYYMM\customernumber.pdf'
[report a broken link by clicking here]