Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
PGM PARM(&WEBSITE)
DCL VAR(&CALL) TYPE(*CHAR) LEN(123) VALUE(' ')
DCL VAR(&WEBSITE) TYPE(*CHAR) LEN(89)
STRPCO
MONMSG MSGID(CPF0000 IWS0000)
CHGVAR VAR(&CALL) VALUE('rundll32 +
url.dll,FileProtocolHandler' *BCAT &WEBSITE)
STRPCCMD PCCMD(&CALL) PAUSE(*NO)
MONMSG MSGID(CPF0000)
ENDPGM
PGM
DCL VAR(&CALL) TYPE(*CHAR) LEN(123) VALUE(' ')
DCL VAR(&WEBSITE) TYPE(*CHAR) LEN(89) +
VALUE('[URL unfurl="true"]HTTP://WWW.YAHOO.COM')[/URL]
STRPCO
MONMSG MSGID(CPF0000 IWS0000)
CHGVAR VAR(&CALL) VALUE('RUNDLL32 +
URL.DLL,FILEPROTOCOLHANDLER' *BCAT &WEBSITE)
STRPCCMD PCCMD(&CALL) PAUSE(*NO)
MONMSG MSGID(CPF0000)
ENDPGM
PGM PARM(&WEBSITE)
DCL VAR(&CALL) TYPE(*CHAR) LEN(123) VALUE(' ')
DCL VAR(&WEBSITE) TYPE(*CHAR) LEN(117)
STRPCO PCTA(*NO)
MONMSG MSGID(IWS4010)
CHGVAR VAR(&CALL) VALUE('start' *BCAT &WEBSITE)
STRPCCMD PCCMD(&CALL) PAUSE(*NO)
MONMSG MSGID(CPF0000)
ENDPGM
CALL PGM(FMLLIB/RUNWEB) PARM('[URL unfurl="true"]http://www.tek-tips.com/viewthread.cfm?qid=1565565')[/URL]
CHGVAR VAR(&CALL) VALUE('rundll32 url.dll,FileProtocolHandler' *BCAT &WEBSITE)
STRPCCMD PCCMD(&CALL) PAUSE(*NO)
Oche said:does this only work with Client Access?
I tried it on a PC where I have only tn5250 and no iSeries Navigator installed and it doesn't work.flapeyre said:It doesn't matter what your emulator is. Client Access is not required.
Required PC program (PCO.EXE) is not active
No communications with PC can occur