Previous Topic: Connection to Mapping Support

Next Topic: Manipulate and Extract Data

Sourcing Data

MDO data can be sourced from NCL tokens, many NCL input verbs or as a hard-coded string. An MDO does not have to be attached to a map before data can be placed into it, because MDOs and maps are separate entities. It is possible to attach a map to an MDO before or after data has been placed into it.

Example: Sourcing Data

&ASSIGN MDO=ccc DATA=data
                -* assign data into the MDO
&ASSIGN MDO=ccc MAP=mapname               
                -* attach a map to the MDO. 

Note: After map connection, the &ZMDORC system variable should be checked to ensure the connection was good. If Mapping Services detects a mismatch between the map definition and the MDO data, &ZMDORC contains a non-zero value and subsequent access to the MDO can produce name checks or type checks.