Description: Zeros the result field and subtracts factor 1 from it (negative move).
Legacy RPG400 Example:
C Value Z-SUB Result
C Z-SUB 100 Amount 50
C Z-SUB 100 Amount 50
Modern RPGLE Example:
dcl-s Amount packed(5:0);
Amount = -100;
From AS400 to iSeries to System i to IBM i on Power
Description: Zeros the result field and subtracts factor 1 from it (negative move).
Legacy RPG400 Example:
Modern RPGLE Example:
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.