Previous Topic: Ext/Int mapping function parameters:

Next Topic: Documenting Your Data Model

Int/Ext mapping function parameters:

The Int/Ext mapping function should contain action diagram statements to multiply the percentage by 100. Set the statement as below.

Finally, create the data type. Zoom into the *Field Attributes types file and press F9 to add an object attribute.

Enter Z against the PCX field type to display the Edit Field Type panel.

Create the data type as defined below, ensuring that the Int/Ext len conv field is set to C and that the correct mapping functions are specified.

Note: The YPCXLENR1C program must exist before you confirm this step; otherwise you will receive an error message.

Press Enter to display the summary panel. Change the Mnemonic code to PCX. Fill the field exit options and edit codes to complete the data type.