Previous Topic: How Web Option Processes a Request

Next Topic: YCRTW2EHTP - Create Web Option HTTP Server Instance

Commands

This appendix contains information on Web Option commands. All Web Option commands are shipped in the Y2WEBVENG library with *PUBLIC *USE authority.

This section contains the following topics:

YCRTW2EENV - Create Web Option Environment

YCRTW2EHTP - Create Web Option HTTP Server Instance

YCVTRCO - Convert between Row/Column/Offset

YEDTMLSSYN - Edit MLS Syntax

YENDW2ESVR - End Web Option Server

YGENMLS – Generate Markup Language Skeleton

YINZW2E - Initialize Web Option

YPRCSKL - Process HTML Skeleton

YSCPRCV - Script Recovery Action

YRTVW2EVAL - Retrieve Web Option Value

YSTRW2ESVR - Start Web Option Server

YUPGW2EENV – Upgrade Web Option Environment

YWRKELMCST - Work with Element Customization

YWRKSCRXRF - Work with Screen Cross-References

YWRKW2EVAL - Work with Web Option Control Values

YCRTW2EENV - Create Web Option Environment

When you run the YCRTW2EENV command, the environment library is created and environment-specific data from files in the specified product and LDO libraries is copied into versions of those files in the environment library (and optionally deleted from the product and LDO files if DTAOPT was *MOVE).

Parameters

The parameters for the command are as follows:

Web Option environment (W2EENV)

Specifies the name of the Web Option environment to be created. This is a required parameter.

Web Option library (W2ELIB)

Specifies the Web Option product library that should be linked to the Web Option environment specified in the Web Option environment prompt (W2EENV parameter).

*W2ELIB

The first Web Option product library in the library is used.

library-name

Specify a Web Option product library.

Web Option LDO library (LDOLIB)

Specifies the Web Option LDO library which should be linked to the Web Option environment specified in the Web Option environment prompt (W2EENV parameter).

*W2ELIB

The LDO library specified for the Web Option product library specified in the Web Option library prompt (W2ELIB parameter).

library-name

Specify a Web Option LDO library.

Data option (DTAOPT)

Specifies whether data from the Web Option product and LDO libraries should be copied or moved into the data library specified in the Web Option environment prompt (W2EENV parameter).

If DTAOPT(*INIT) is specified, the Web Option environment is created in an initialized form, with data from some control files copied into the data library, but data from user files not copied. The following table details of which files have data copied.

If DTAOPT(*COPY) is specified, data from all the Web Option files is copied to the data library.

If DTAOPT(*MOVE) is specified, data from all the Web Option files is copied to the data library and user data is then removed from the Web Option product and LDO libraries.

Note: DTAOPT(*MOVE) should be specified only if you intend to create a single Web Option environment. If you are planning to create multiple Web Option environments that use the same Web Option product and LDO libraries, you should specify either *INIT or *COPY for this parameter.

The following table shows the list of Web Option files for which data is copied using the different values for the DTAOPT parameter:

Y2WEB                                                     
                     	   *INIT      *COPY     *MOVE    
               YCLSDFNP      C         C          NSD     
               YDBGDTAP      E         E          EAD     
               YELMCSTRFP    C         C          NSD     
               YMLSDRFRFP    -         -           -      
               YMLSFMTRFP    -         -           -      
               YMLSHDRRFP    C         C           C      
               YMLSSRC       -         -           -      
               YMLSSYNRFP    C         C           C      
               YSCRELMRFP    E         C          EAD     
               YSCRIPT       E(1)      C          EAD(1)  
               YW2EAUDP      E         E          EAD     
               YW2EUSRRFP    E         C          EAD     
               YW2EVALRFP    C         C           C    

Y2WEBVENG
               YMLSSRC       E         C          EAD 
               YMLSTXTRFP    -         -           -  
               YMLSUDTP      C         C          NSD 
               YMLSXRFP      E         C          NSD 
                YSCRXRFP     E         C          NSD   

E = Empty file copied

C = File copied (including data)

- = File not copied

NSD = Non-system (user) records deleted after copy

AD = All records/members deleted after copy

(1) Except the DEFAULT member

*INIT

Only data from Web Option control files is copied into the data library, to create an initialized Web Option environment.

*COPY

Data is copied from the Web Option product and LDO libraries into the data library. No data is removed from those libraries.

*MOVE

Data is copied from the Web Option product and LDO libraries into the data library and user data is then removed from those libraries.