Issue with Date Stamping when using X_Run parameter DATF

Date:Archived
Product/Release:Visual LANSA & LANSA for iSeries
Abstract:Issue with Date Stamping when using X_RUN parameter DATF
Submitted By:LANSA Technical Support

Update: The fix for this problem is available in EPC681. Please refer to the EPC681 documentation for more details.

Description:

Use of the new X_RUN parameter DATF causes corruption of the date stamping fields on the iSeries.

Details:

Specifying the DATF date format in a Visual LANSA Superserver application is incorrectly affecting the date format used for date stamping on the iSeries Server.

For example:

If you add the DATF parameter to DMY in your application, then CYDC uses a format YYYYDDMM on the iSeries.

If you change DATF to MDY, then CYDC uses YYYYMMDD, thus compromising the date stamping.

This is incorrect. The format for the fields with date stamping on the iSeries should be retained.

Solution:

The proposed change is for the OS/400 job date format of the Superserver job to be changed to agree with the Visual LANSA date format passed by DATF.

The proposed change will ensure date stamping is correct.

Note: The field values inserted into a file on the iSeries will still use the date format passed from Visual LANSA Client when using X_RUN parameter DATF.