Use the YCHKFUNPAR (Check Parameter Interfaces) command to identify any functions that have duplicate parameter fields when the Duplicate parameters function option is set to N. Prior to Version 8.6, it was possible to enter duplicate parameters even when the Duplicate parameters function option was set to N. This command allows you to analyze an entire model and identify functions that violate the Duplicate Parameters restriction and exception. Executing the command produces a joblog that contains error messages identifying problematic functions.
Important! After gathering the results from the YCHKFUNPAR command, it is your responsibility to rectify any problems by modifying, as necessary, the parameter interfaces.
The command searches for two specific parameter interface problems:
For a given function (where function option Duplicate parameters is set to N) each parameter field must be unique, regardless of usage. The only exception is that a field can appear once for Input and once for Output.
Sends error message (Y2V0719) to joblog.
Note: If a function has Duplicate parameters function option changed from Y to N, previously valid duplicate fields may now become invalid (however no warning or error will be sent). It is your responsibility to revisit the parameter interface and ensure that any invalid duplicate parameters are modified or removed accordingly. The YCHKFUNPAR can be used to identify such invalid duplicate parameters.
When defining parameters on the EDIT FUNCTION PARAMETERS panel, SEQ does not need to be unique. This has no adverse impact when function option Duplicate Parameters = N. However, when function option Duplicate Parameters = Y, and two parameters are specified with the same sequence number, the same duplicate parameter context is used for both parameters. Therefore in the AD, a field can appear in a given duplicate parameters context more than once.
Sends error message (Y2V0720) to joblog.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |