Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Joining data items (STRING)

Use the STRING statement to join all or parts of several data items or literals into one data item. One STRING statement can take the place of several MOVE statements.

The STRING statement transfers data into a receiving data item in the order that you indicate. In the STRING statement you also specify:

The receiving data item must not be an edited item, or a display or national floating-point item. If the receiving data item has:

Only that portion of the receiving field into which data is written by the STRING statement is changed.

Example: STRING statement

related references  
STRING statement (Enterprise COBOL Language Reference)


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)