umonth



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

Example

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



RPG Equivalent

UMONTH