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!

Batch file not picking up correct version

2941175Mar 1 2017 — edited Mar 6 2017

Hi Team,

I use the below code in the batch file to extract the reports from DRM.

@echo off

Title PR Metadata Exports

set HOME_DIR="\\Test\Home\

:: MAIN

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

echo ...BPUAccount

drm-batch-client.exe  /log=%HOME_DIR%\Log\PRLog.log  /op=E  /u=Test /pw=Password1 /cver="ANZ_FIN_201608_AUG_BPU"  /pver="ANZ_FIN_201607_AUG_BPU"  /xtype=E  /xname="BPUAccount"   /outfile=%HOME_DIR%\PRMetadata\BPUAccount.txt   /url=net.tcp://drmhyptest.service.dev:5211/Oracle/Drm/Engine

if %ERRORLEVEL% NEQ 0 call :exitError "...BPUAccount

:exitSuccess

echo BATCH SUCCESSFULLY RUN

pause

exit 0

:exitError

echo BATCH ERROR: %1

echo BATCH ABORTED

pause

exit 1

The issue we are facing is the system always picks up the default current version but not the version specified in the batch file.

Please suggest us some solution where the system needs to pick the version provided in the batch.

Thanks,

Venkat.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details