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.