The &CONCAT built-in function is used to concatenate several pieces of data to form a single string. With an &CONTROL DBCS, DBCSN or DBCSP option in effect, the concatenation of DBCS data removes any consecutive shift in or shift out characters in the resultant data string.
Example: &CONCAT
&CONTROL DBCS &A = &CONCAT <.A> <.B> ABC D<.C> E
results in
&A = <.A.B>ABCD<.C>E
| Copyright © 2009 CA. All rights reserved. |
|