MAP

The MAP command enables you to perform the following functions, using the Natural command line:

This document covers the following topics:

Related command: UNMAP.


Establish a Connection to a Natural Development Server Environment

The following MAP command syntax applies if you want to establish a connection to a Natural Development Server, using the Natural command line:

MAP ENVIRONMENT=environment-name server-name port-name [userid [password ['parm=value;...']]

This method has the same effect as the dialog described in the section Mapping a Development Server in the Remote Development Using SPoD documentation.

environment-name Alias name used for the connection.

If environment-name is not specified, an alias name in the form server(port) will be generated.

If the environment name contains blanks, it must be enclosed in single quotes ('...').

server-name The name of the Natural development server on the mainframe or Linux server.
port-name The TCP/IP port number of the development server.
userid The user ID for access to the development server.

If you enter an asterisk (*) as userid, the user ID of the client session is used.

password If Natural Security is installed on the development server, specify the required password.

If you enter an asterisk (*) as password, an empty password string is sent to the development server.

parm If dynamic parameters are required for your development server, specify the session parameters using single quotes ('...').

To unmap a session on a Natural Development Server, you can use the UNMAP command.

Establish a Connection to a Natural Application

The following MAP command syntax applies if you want to establish a connection to a Natural application, using the Natural command line:

MAP APPLICATION=application-name [userid [password]

This method has the same effect as the dialog described in the section Mapping and Unmapping Applications in the Remote Development Using SPoD documentation. For information on the term "Natural Application", refer to the Natural Single Point of Development documentation.

application-name The name of the application.
userid The user ID for access to the application.

If you enter an asterisk (*) as userid, the user ID of the client session is used.

password If Natural Security is installed on the development server, specify the required password.

If you enter an asterisk (*) as password, an empty password string is sent to the development server.

To unmap an application on a Natural Development Server, you can use the UNMAP command or the dialog described in the section Mapping and Unmapping Applications.