All Articles

Setoff

It is used to off indicator. (assign ‘0’) Example Program D Arr2 s 3...

Seton

It is used to on indicator. (assign ‘1’) Example Program D Arr2 s 3...

Sorta

It is used to sort the array element. Example Program D Arr2 s 3...

Subdur

SUBDUR operation code is used to perform arithmetic difference of duration in factor-2 from...

Subst(E P)

Error handling or padding with blank while substring the string variable. Example Program D...

Time

It gets the current system time. Example Program DTime0 S T DxDsply S 50...

Unlock

This opcode is used to unlock the dataarea. CRTDTAARA DTAARA(LIB/DA) TYPE(*CHAR) LEN(30) VALUE(‘1001’) Display...

Update

The UPDATE opcode is used to update a record in a file. dcl-f emphdr...

When

The operations controlled by the WHEN operation are performed when the expression in the...