How can I pass the current date from one PA to another in UniQuery? A colleague taught me the trick of having the date written by cron to a file and using a inline prompt to read it with <<F(HOLD,X.DATE.TODAY,1)>>
, but that adds extra parts that can fail and I would rather keep it simple (aka one time the file didn't get updated, oops).
I basically need something like this.
AE VOC MY.PROCESS.TODAY
001: PA
002: MY.PROCESS ?????
To run my second PA with the current date.
AE VOC MY.PROCESS
001: PA
002: SELECT PERSON WITH PER.CHANGE.DATE EQ <<I2,Enter Date:>>
This does work, MY.PROCESS <<F(HOLD,X.DATE.TODAY,1)>>
, but is there anyway I could pass the results using something more reliable like DATE()
as the argument into the second paragraph?