NET/MASTER Network Control Language (NCL) Programmer's Guide
The ASSIGN and DROP Verbs
Working With Mapping Services
106160 Tandem Computers Incorporated 10–39
The following screen shows the results of executing the procedure:
(07:35) --------------------- OPERATOR CONTROL SERVICES ----------------------
START ZEX1015N
&VAR1 is One
&VAR2 is Two
&VAR3 is Three
&ABC1. ($MSG) is OneTwoThree
&ABC2. ($NCL) is . . . One . Two . Three
&ABC3. ($SEC) is OneTwoThree
&ABC4. ($SPI) is OneTwoThree
$NCL is the exception: display using map names
&ABC2.DATALIST.DATA{1} is One
&ABC2.DATALIST.DATA{2} is Two
&ABC2.DATALIST.DATA{3} is Three
NNM1005 START ZEX1015N PROCESSING COMPLETE. NCLID 001043
_____________________________________________________________________________
---------- ------------------ NonStop NET/MASTER D30 ---------------- --------
M=>
The screen shows that data from the ordinary variables, &VAR1, &VAR2, and &VAR3,
is concatenated into a single string when you transfer it to the MDO variables &ABC1.,
&ABC3., and &ABC4.. It also shows that the map $NCL is the exception: data
transferred to an MDO variable that uses the map $NCL is placed into separate fields,
not concatenated into a single string (this is the purpose of the map $NCL).
Transferring Data From an MDO Variable to Ordinary Variables
You can transfer data from an MDO variable to ordinary variables using the following
syntax of the ASSIGN verb:
ASSIGN [ OPT=VALUE ]
{ ARGS [ RANGE=(
start
,
end
) ] |
VARS={
output-vars-list
|
variable
* }
[ RANGE=(
start
,
end
) |
BYNAME | GENERIC | MERGE | OVERLAY ] }
FROM
MDO=
variable-name