CONCAT Macro

The CONCAT macro concatenates specified data and stores the result in a variable.

Parameters: CONCAT Macro

Example: CONCAT Macro

In the following example, the CONCAT macro creates the &SRCHKEY variable, which contains the value 55LOCNx, where x is the value of the &LOCATION variable:

PROD----- Automation Services : CONCAT Macro Parameter Definition ----------- Command ===> Function=BROWSE .- Data to be Concatenated ---------------------------------------------------. | | | Enter data to be concatenated below. Data can contain variables and/or | | text separated by blanks. | | | | Data ....... 55 LOCN &LOCATION | | | | | | Preserve blanks ... NO (YES or NO) | | | | Notes: Blanks within variables are always preserved. | | The created variable has a maximum length of 256 characters. | | Excess characters will be truncated and a warning message logged. | '-----------------------------------------------------------------------------' .- Variable to be Created ----------------------------------------------------. | | | Variable Name ..... SRCHKEY | '-----------------------------------------------------------------------------' F1=Help F2=Split F3=Exit F9=Swap


Copyright © 2010 CA. All rights reserved.