All Articles

Write

The WRITE operation writes a record in a database file. EMPHDR A R EMPHDRR...

Xfoot

This op-code adds the elements of a numeric array. D Arr2 s 3 0...

Xlate

This opcode is used for character-to-character translation by the protocol specified in factor-1. D...

Xlate(E P)

Error handling or padding with blank while translating from character to character by the...

Z-add

Adds the numeric value in factor 2 with zero and store the result in...

Z-add(H)

Half adjust (round) of the numeric value while adding zero to factor 2. D...

Z-sub

It subtracts numeric value in factor 2 from 0. D b s 4S 2...

Z-sub(H)

Half adjust (round) of the numeric value while subtracting factor-2 from 0. D b...

Data Structure

A data structure in RPG is a named area of storage that is divided...