runmacro date prompt OK in ARuser, but fails in runmacro

2012-04-12 Thread Joel D. Sender
I built a macro in ARuser that prompts for a date.
When I run the macro in ARuser, it accepts my typing in: 04/04/2012
A runmacro execution (from a filter or in a CMD window) fails with: -p 
StartDate=04/03/2012
also fails with: -p StartDate=04/03/2012 
also fails with: -p StartDate=04/03/2012 00:00:00
also fails with: -p StartDate=04/03/2012 00:00:00

AR versions  7.0 have accepted: -p StartDate=04/03/2012

Anyone know of a 'new' trick I'm missing?
(under a bit of a time crunch here ...)

THANKS,
Joel

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are


Re: runmacro date prompt OK in ARuser, but fails in runmacro

2012-04-12 Thread Grooms, Frederick W
Do you have an ARDATE (or is it ARDATEONLY) environment variable changing the 
format of a date?

What happens if you use the numeric value for the date?

Fred

-Original Message-
From: Action Request System discussion list(ARSList) 
[mailto:arslist@ARSLIST.ORG] On Behalf Of Joel D. Sender
Sent: Thursday, April 12, 2012 1:36 PM
To: arslist@ARSLIST.ORG
Subject: runmacro date prompt OK in ARuser, but fails in runmacro

I built a macro in ARuser that prompts for a date.
When I run the macro in ARuser, it accepts my typing in: 04/04/2012
A runmacro execution (from a filter or in a CMD window) fails with: -p 
StartDate=04/03/2012
also fails with: -p StartDate=04/03/2012 
also fails with: -p StartDate=04/03/2012 00:00:00
also fails with: -p StartDate=04/03/2012 00:00:00

AR versions  7.0 have accepted: -p StartDate=04/03/2012

Anyone know of a 'new' trick I'm missing?
(under a bit of a time crunch here ...)

THANKS,
Joel


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are


Re: runmacro date prompt OK in ARuser, but fails in runmacro

2012-04-12 Thread Joel D. Sender
We have not set ARDATE or ARDATEONLY. Using the defaults.
ARERR 1590 says the date format is invalid.
Thanks,
Joel

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are


Re: runmacro date prompt OK in ARuser, but fails in runmacro

2012-04-12 Thread Joel D. Sender
I just tried the date value in seconds (i.e. 1334257637) and it, too failed.
sigh
Joel

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: Where the Answers Are