Page History
...
Use Rule When Performing
At least one entry is required. Prefilled to ADD and CHG. Specifies "when" the rule is to be performed. Allowable values are:
...
Most commonly used entries are ADD, CHG, and CHGUSE. Use of DLT by itself is a common and a very powerful check mechanism. If ADDUSE is specified, ensure that the default value of the field is a valid database value.
...
The client's format can be changed from the default by specifying the x_run parameter DATF=. For more information, please refer to Standard X_Run Parameters in the Technical Reference Guide.
...
The use of the "days into the past" and "days into the future" range limit values can be illustrated with a time linetimeline:
| No Format |
|---|
Current date Lower limit (date on which the Upper limit for valid date rule is performed) for valid date | | | | | | | N | ======|======= PAST ==========O======= FUTURE =======|=======> | W | | | | | | | |<---------------------|-------------------->| "X" days allowed | "Y" days allowed into the past | into the future |
...
Optional. Specify either error message number, file, and library or error message text (described below), but not both. Error message files and error message numbers are a native part of the IBM i IBM i operating system. Refer to the IBM-supplied Control Language Reference Manual for details. CL commands involving message files include CRTMSGF and ADDMSGD.
If you are working on an IBM i, you can directly edit the message details from this screen panel. Enter as much of the message details as is known and use the function key labeled "Work Msgd" (Work Message Description). This will cause a WRKMSGD command to be executed, using as much of the supplied message details as is possible. This operating system facility will allow you to create or edit the message details. Upon completion of the WRKMSGD command, this screen panel will be redisplayed, unchanged, to allow you to proceed.
Do not store user-defined messages in, or modify "shipped" messages in, the LANSA message file DC@M01 via this or any other message file editing facility. It is regularly replaced by new version or PC (program change) installations.
...
Optional. If you do not wish to use an error message file (described above) to store the message text, then you may enter the text of the error message to be displayed directly. If this facility is used then the message will have no second-level text associated with it. Refer to the section on Messages and the Help Key.
...
| Note |
|---|
| Note: All dates must have a four-character year so that accurate comparisons and calculations can be performed. Where a two-character year (eg. DDMMYY, YYMMDD, MMYY) is supplied the century value is retrieved from the system definition data area. The year supplied is compared to a year in the data area, if the supplied year is less than or equal to the comparison year then the less than year is used. If the supplied year is greater than the comparison year then the greater than year is used. |
...