Schema Map declaration


SYNTAX:
schema_map_decl = SCHEMA_MAP schema_map_id ?;? schema_body   END_SCHEMA_MAP ?;? .
schema_body = global_decl { declaration } .
declaration = compose_decl | constant_decl | copy_model_decl| function_decl | map_decl | procedure_decl | statements_decl .
schema_map_id = simple_id .
An EDMexpressX mapping schema must start with the keyword SCHEMA_MAP and end with the keyword END_SCHEMA_MAP. All mapping declarations must be placed between these two keywords.
The keyword SCHEMA_MAP must be followed by the name of the mapping schema. The name of the mapping schema is used to uniquely identify the actual mapping schema.
A legal EDMexpressX mapping schema must at least include a global declaration.
Example:
SCHEMA_MAP AP214ARM_TO_AP214AIM; – Start of mapping schema
 GLOBAL
  DECLARE source INSTANCE OF SOURCE_SCHEMA SourceSchema;
  DECLARE target INSTANCE OF TARGET_SCHEMA TargetSchema;
 END_GLOBAL;
 
 (* All mapping declarations *)
 ..............................
END_SCHEMA_MAP; -- End of mapping schema.