uyear



This reserved word returns the current job or session year as a numeric value.

Example

pjs.define("myYear", { type: 'packed decimal', length: 4, decimals: 0 }) myYear = uyear; // If the session started on May 8th, 2018, myYear will hold the value 2018



RPG Equivalent

UYEAR