All Articles

Exsr

It is used to call and process a saubroutine. Example Program Dcl-s CharDate Char(6)...

Extrct

This opcode extracts: Year, month or day segment of a date or timestamp value...

For

For loop is like any other for loop of any language. It consists of...

If

It is used to check the condition and if it is true, the next...

IfXX

It is used to check the condition and if it is true, the next...

In & Out

This opcode is used to retrieve the value from the dataarea. CRTDTAARA DTAARA(LIB/DA) TYPE(*CHAR)...

Iter

It can be used in DO, DOU, DOUxx, DOW, DOWxx, and FOR loops to...

Kfld

It comes into picture when we define a key list. It represents the key...

Klist

It is used to create a composite key consisting of many key fields that...