This discussion is archived
0 Replies Latest reply: Jul 18, 2013 5:53 AM by 1013034 RSS

Batch Client

1013034 Newbie
Currently Being Moderated

Hello Guys,

I have to urgent questions

1. Is it possible to use variables in the file that has the DRM commands that is called in the batch script?


Batch file:

[General]

Operation=Multiple

Username=********

Password=*******

URL=net.tcp://usphl0mdma1:5210/Oracle/Drm/ProcessManager    [ Use URL=%1% here instead ]

LogFileName="C:\Users\svc_mdmAdmin\GeneralLog.log"

 

[Operations]

OperationCount=2

Operation1=Import                                                                                                                                      

Operation2=Export

 

[Import]

Operation=Import

ImportAbbrev="ORG102-IMPORT"

ImportLogFileName="C:\Users\svc_mdmAdmin\OrgImport.log" [ Use ImportLogFileName =%2% here instead ]

VersionAbbrev="ORG102"

VersionDescription="ORG102 Hierarchy"


2. How can one incorporate "echo Errorlevel" into a batch client on a DRM application to get and error message when there is an error on it?


Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points