My impression on this is that the entire record format is passed into RLA. 
 Thus RLA overrides what gets written into that column.  See the results 
of my Design Change Request
 
User Group Number - MR0514094047
Document Status - Suggestion
Title - Add %fields to the WRITE statement in RPGLE
This is a reasonable requirement. IBM will consider implementing the 
request in a future release.
Additional comment:
The request would not fulfill the background requirement of supporting the 
ROW CHANGE TIMESTAMP feature on an RPG WRITE operation.
Using %FIELDS for WRITE would work in a similar way to coding individual 
fields on Output specifications.  Any output field not listed in the 
%FIELDS list would be output with the RPG default value.  The RPG WRITE 
operation is a record-level-access operation.  It is not possible for RPG 
to pass only some of the fields in the record to database.         
______________________________________________
Design Change Requests
IBM  i5/OS System i
DCRREQ @ u s.ibm.com
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.
	
 
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.