Elvis Budimlic wrote:
What data type is S?

DCL DD A CHAR(68);
DCL DD B CHAR(68);
ADDLC(S) A, B;

"S" specifies the short form of the opcode requiring only 2 parms.   In
this case, "A" servers as both operand and result.  The normal or long
form has 3 parms where the result is parm 1 and the operands are parms 2
and 3.

Not unlike the way ADD in RPG can omit factor 1.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].