Eval-Corr valorizzare parzialmente una DS

coollogo_com-247503328

Veniamo all’operation code Eval-Corr:

Il manuale IBM dice:

The EVAL-CORR operation assigns data and null-indicators from the corresponding subfields of the source data structure to the subfields of the target data structure. The subfields that are assigned are the subfields that have the same name and compatible data type in both data structures. For example, if data structure DS1 has character subfields A, B, and C, and data structure DS2 has character subfields B, C, and D, statement

EVAL-CORR DS1 = DS2

will assign data from subfields DS2.B and DS2.C to DS1.B and DS1.C

All About .. CL

All About … CL programming Submit Job passing packed decimals Name Notes Date RPGPGM.COM Submit Job passing packed decimals How to handle packed variables in CLP and something about Data Structures DS in CLP 10/02/2016 RPGPGM.COM Retrieving the program’s name in a CL program RPGPGM.COM – From AS400 to IBM i 13/01/2016 RPGPGM.COM Trim in…