Previous Topic: Specific Customization

Next Topic: Tips and Techniques

Editing an HTML Skeleton After Generation

When an HTML skeleton has been generated, it exists as a source member in YMLSSRC in Y2WEB. While it is possible to edit the skeleton in that form using SEU, it is easier to edit it as an HTML document on a PC. To do this, you must convert the skeleton source member into a document in the WEBOPT directory in the IFS, using the YPRCSKL command.

Once the skeleton is available as an HTML file on the PC, you can edit it using a graphical HTML editor or a text editor. You can make almost any changes to a generated skeleton, but there are particular sections of generated HTML that you should leave in the skeleton:

After making your necessary changes to the skeleton, use the YPRCSKL command with option *CVTTOSKL, to copy it over to the HTML source file on the IBM i.

Note: If you customize a function skeleton and copy it to YMLSSRC, then you regenerate the skeleton for that function using the YGENMLS command, any changes you added are lost. At that point, you are back to your basic skeleton.