Parameter |
|
Description
Retrieves the value of parameter that has already been defined at some level within the job.
Arguments
1.Parameter - Name of the Macro.
2.ParameterName - The name of the parameter to extract - no conversions or formatting will occur.
3.Default Value - The optional default value to use if the parameter is undefined. If not supplied a blank value will be emitted.
Examples
<Parameter|SourceFile>
If <Parameter|SourceFile> is defined this will return the <Parameter|SourceFile> value.
If <Parameter|SourceFile> is not defined this will return a blank value.
<Parameter|SourceFile|default.txt>
If <Parameter|SourceFile> is defined this will return the <Parameter|SourceFile> value.
If <Parameter|SourceFile> is not defined this will return the value "default.txt".
Notes
The Parameter function will not generate an error if a parameter is undefined - it will just emit a blank value or the default if provided.
Copyright © 2024 pasUNITY, Inc.
Send comments on this topic.
Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.