[DUAS] Sample uproc Variable type DATE does not Work with no value
search cancel

[DUAS] Sample uproc Variable type DATE does not Work with no value

book

Article ID: 208247

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Sample Uprocs variable type DATE does not Work as documented.

As the Doc is mentioning the value as "optionnal", we should be able to create the variable without a default value.
@PARAM <VARIABLE_NAME> DATE <format> [<value>]

<Value>: Variable default value. Optional

(source : https://docs.automic.com/documentation/webhelp/english/ALL/components/DU_AS/latest/%20%20Dollar%20Universe%20Guides/help.htm#DUAS_ref/Uproc%20Samples.htm?Highlight=PARAM)

 

But this variable will not be created if no value is set.
In the Uproc sample, below, the first statement will work, the second one won't :

@PARAM DATESET DATE MM/DD/YYYY 09/15/2012

@PARAM DATEEMPTY DATE MM/DD/YYYY

 

 

Environment

Release : 6.10

Component : DOLLAR UNIVERSE

Cause

Documentation error : the value is mandatory for the DATE type parameter.

Please also note that the date must be valid : a value such as 00/00/000 will not work.

Resolution

Documentation will be fixed in a future release