Map Maintenance Function Tab

  

DEVELOPER

  1. Click   icon to open the Map Maintenance window. You can edit a map by double-clicking the map entry, or by selecting the entry and clicking on the Open .

  1. Select the Function tab to maintain the function's parameters.

Fields on the Map Maintenance Function tab:

Item

Description

Called Function

The name of the called Global Function.

Map

The name of this interface map. Select an existing map for the function from the list.

Description

A description of the map is generated automatically by prefixing the map name with Map. This can be amended by clicking the Edit and entering the name in the Map Description field on the Edit Map Description window.

Edit

A description of the map is generated automatically by prefixing the map name, this can be amended by clicking the Edit .

Seq

Unique sequence number assigned to each parameter.

I/O

The type of parameter:

I – Input - used for transferring information from a third party (for example Visual Basic) program into PROIV.

O – Output - used to transfer information from PROIV to the third party program.

B - Both - used as an input parameter or an output parameter.

E – External - allows a file variable to be used by a Global Function, without a file that includes the file variable being read in the function. This would cause a gen failure unless the variable is an External parameter.

G - Global - makes a Task parameter available to any function that is called by the Task, without mapping it through the interface.

Parameter

Displays the name of parameter variable. When you enter "=" in the Map To field, the contents of this column are copied across to the Map To field for the selected parameter.

Type

Displays the variable type:

A - Alpha

N - Numeric

W – Wide

Length

Displays the length of the variable.

Array

If the variable is an array, the number of elements are displayed.

Map To

Enter the variable, literal text or value to be mapped to the parameter variable. The entry is limited to 32 characters.

You can select file variables, scratch variables and value variables by clicking the ellipsis .

 

Entering ‘=’ copies the entry in the Parameters column to the Map to column.

Translate

If the Translate check box is selected, then the string is selected for translation.

Settings

If the string is selected for translation and there has been fine tuning made to the translation settings, then the Settings check box is selected.

Parameters

Displays the Function Parameters Maintenance window, which maintains the calling function’s parameters.

Copy From

Copies the details from an existing interface map in the same or another function. You can optionally filter the functions offered for selection, by only listing ones calling the called function.

Auto Map

Copies all entries in the Parameters column to the Map to column.

Clear

Clears all the entries in the Map to column.

OK

Closes the Map Maintenance window.

Comment on this topic

Topic ID: 500559