Activating the Currency Data Source

How to:

Reference:

Before you can perform currency conversions, you must specify the currency data source by setting the EUROFILE parameter with the SET command. By default, the EUROFILE parameter is not set.

Issue the SET command in a procedure or any supported profile. It cannot be set within a report request.

After a data source is activated, you can access a different currency data source by reissuing the SET command.

Note: The EUROFILE parameter must be set alone. For example, appending an additional SET parameter will cause the additional parameter setting to be lost.

Syntax: How to Activate Your Currency Data Source

SET EUROFILE = {ddname|OFF}

where:

ddname

Is the name of the Master File for the currency data source. The ddname must refer to a data source known to and accessible by your application in read-only mode.

OFF

Deactivates the currency data source and removes it from memory.

Reference: EUROFILE Error Messages and Notes

  • Issuing the SET EUROFILE command when the currency data source Master File does not exist generates the following error message:
    (FOC205) THE DESCRIPTION CANNOT BE FOUND FOR FILE NAMED: ddname
  • Issuing the SET EUROFILE command when the currency Master File specifies a FOCUS data source and the associated FOCUS data source does not exist generates the following error message:
    (FOC036) NO DATA FOUND FOR THE FOCUS FILE NAMED: name