Skip to main content



How to check the display size on 5250 screen. *DS3 80 columns or *DS4 132 columns

In this example CHKDS4.RPGLE detects the screen setting. As an example I propose a CLP that calls PGM1 if the setting of 80 columns is detected, or calls PGM2 if the setting of 132 columns is detected.

Latest Posts

Subfile window with mouse selection - DoubleLeftClick - MOUBTN(*ULD CA04)

how to calculate the check digit for EAN-13 codes

How to add or subtract days from a date field %days(n)

As an alternative to WRKACTJOB: How to get Active Jobs data using SQL ACTIVE_JOB_INFO table function

Modernizing RPG's indicator with INDARA (Indicator Area) keyword

Rpg Free: Create a Window to display a program message