Step 1. Check in a WAM and its Layout
To compile and run your WAM on the IBM i, you will need to ensure that you have also checked in any dependent objects.
- Checking in a WAM also checks in the web page definition for each WebRoutine. The WAM layout will also be automatically checked in.
- You only need to check in a WAM layout once, or when it has been changed. You will find that LANSA V13 always checks in the WAM layout when you check in the WAM.
- When checking in a WAM, you should use the Cross References dialog to select and check in any dependent objects.
- If your WAM layout is based on a common company layout, you will check this layout in the first time you check in a WAM which uses it and whenever this common layout has been changed.
- Other definitions which you may need to consider are any custom weblets or which your WAM is using.
- You can check in using the from the tab, or from the tab.
- With the WAM open in the editor, you can also check in from the button:
1. On the
tab find WAM iiiEmpEnquiry under . Use the context menu to :
The
dialog opens.
2. Select the WAM layout to enable the
toolbar button. Click the toolbar button to open the dialog:
3. Select the common layout iiilay01 and click the button, to add it to the check in list of objects.
4. Click the
button to close this dialog. Your check in dialog should look like the following:
Note: The common layout iiilay01 has been added to the objects to be check in.
Ensure that the
options are as shown.When you check in a WAM for compile the following steps occur:
5. Confirm the check in by clicking the
button. The information area will appear at the foot of the Editor window as shown in this example.
6. Review the check in information to ensure that no errors have occurred.