If you are running a version of Web Option that is older than r8.5, follow these steps.
To upgrade a Web Option installation older than r8.5
RNM OBJ('/webopt') NEWOBJ('webopt81')
RST DEV('/qsys.lib/y2web.lib/webopt.file') OBJ(('/webopt'))
MOV OBJ('/webopt81/<object-name>') TODIR('/webopt') (repeat as required)
Ensure that you do not accidentally overwrite the YSCRIPT.JS file, or any other files required by the Web Option runtime.
YINZW2E CURW2ELIB(Y2WEBSAV) W2ELIB(Y2WEB)
YCRTW2EENV W2EENV(MYWEBENV) W2ELIB(Y2WEB) LDOLIB(Y2WEBVENG) DTAOPT(*COPY)
RMVLIBLE LIB(Y2WEB) RMVLIBLE(Y2WEBVENG) DLTLIB LIB(Y2WEB) DLTLIB(Y2WEBVENG) RSTLIB SAVLIB(Y2WEB) DEV(device-name) RSTLIB(*SAVLIB) RSTLIB SAVLIB(Y2WEBVENG) DEV(device-name) RSTLIB(*SAVLIB)
As part of the upgrade process, the old versions of the shipped skeletons such as YSIGNON, YERROR, and so on, are copied into the new environment library.
Note: If you did not make any changes to the Y* skeletons in r8.1, delete these skeletons from YMLSSRC in MYWEBENV. By default, the shipped Y* skeletons in Y2WEB are used.
Following the upgrade process, the copy of the Web Option Control Values file YW2EVALRFP in the environment library is empty. If you changed any of the control values at the previous release, you need to run the YWRKW2EVAL command and change the displayed default values to match the previous values you used. Your previous values are still available in the copy of YW2EVALRFP in Y2WEBSAV.
EDTF STMF('/www/y2websvr/conf/httpd.conf')
<Directory /QSYS.LIB/Y2WEB.LIB/>
<Directory /QSYS.LIB/MYWEBENV.LIB/>
ScriptAliasMatch ^/WEB2E$ /QSYS.LIB/Y2WEB.LIB/YROUTER.PGM
ScriptAliasMatch ^/WEB2E$ /QSYS.LIB/MYWEBENV.LIB/YROUTER.PGM
Note: If you are upgrading an r8.1 SP1 PTF1 Web Option library, you need to change any HTTP server configurations that are used with Web Option to remove Y1SY8111 from the following line:
SetEnv QIBM_CGI_LIBRARY_LIST "Y1SY8111;Y1SY"
CHGMDLVAL MDLVAL(YW2ELIB) VALUE(MYWEBENV)
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |