Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Renaming the snapshot in EPMAutomate command with current date

Pete`Apr 25 2019 — edited Apr 25 2019

Greetings,

I am trying to rename the existing snapshot in the EPBCS application, with current date appended to the last. I am using the following commands in a batch file:

SET SnapshotName = Artifact_Snapshot_%DATE:~4,2%%DATE:~7,2%%DATE:~-2%

CALL epmautomate renamesnapshot "Artifact Snapshot" %SnapshotName%

However, i get the following error message in the command prompt:

pastedImage_0.png

If i use the command as:

CALL epmautomate renamesnapshot "Artifact Snapshot" SnapshotName

It gets renamed to "Snapshotname"

Could someone help me to figure out how can i append the date at the end of the snapshot.

Thanks,

Pete`

This post has been answered by JohnGoodwin on Apr 25 2019
Jump to Answer
Comments