© 2015-2024. MindStreamAnalytics.com

Oracle Data Relationship Management (DRM)

Automating and Monitoring Action Scripts

Data Relationship Management is an Oracle offering for financial and analytical master data management across ERP, GL, EPM, BI, and DW solutions. It is a one-stop shop for enterprise-wide change management - providing flexibility and reducing time while ensuring data integrity, consistency, and accuracy. To do so, DRM comes with a Windows command-line utility such that many DRM operations can be automated and scheduled, and errors are monitored with ease.

Start by creating a simple batch script to run the batch client (stored in the DRMDIR mentioned below, by default) along with the configuration file.

DRMAutomation.bat

::Set Variables

SET DRMDIR=E:\Oracle\Middleware\EPMSystem11R1\products\DataRelationshipManagement\client\batch-client

SET SCRIPTDIR=E:\ ConfigFiles

SET ACTSCRDIR= E:\ ActionScripts

SET LOGDIR=E:\ LogFiles\

SET DateTimeString=%date:~4,2%_%date:~7,2%_%date:~10,4%

SET LogName=%LOGDIR%\DRMAutomation_%DateTimeString%.log

::run config file if a new action script exists in the action script directory

if exist %ACTSCRDIR%\ DRMAutomation.csv (call %DRMDIR%\drm-batch-client.exe /cfgfile=%SCRIPTDIR%\DRMAutomation.cfg

ren %ACTSCRDIR%\ DRMAutomation.csv DRMAutomation_%DateTimeString%.csv

move %ACTSCRDIR%\ DRMAutomation_%DateTimeString%.csv %ACTSCRDIR%\Archive\)

::Rename log with timestamp

ren %LOGDIR%\ DRMAutomation.log DRMAutomation_%DateTimeString%.log

exit

Code can be added to the sample script such that the timestamped log is monitored and sends out emails notifications to the administrators if an error occurs.

Further, schedule the batch script to run via the Windows Task Scheduler to make it even more hands off.

The last part of the process is to create the configuration file that will provide the login information, log name and further details about the order of operations and their parameters. The file is divided into named sections (within square brackets) of which the general section is mandatory for all config files and the operations section is crucial when running multiple operations from the config file. The remaining sections are added as required for each operation and have different parameters for each type of operation.

DRMAutomation.cfg

[General]

Operation=Multiple

URL="net.tcp://localhost:5210/Oracle/Drm/ProcessManager"

LogFileName="E:\ LogFiles\ DRMAutomation.log"

[Operations]

OperationCount=3

Operation1=BackupCurrentVersion

Operation2=RunActionScript

Operation3=ExportBook

[BackupCurrentVersion]

Operation=BackupVersion

VersionAbbrev="CURRENT"

Connection="ServerName"

FileName="CurrentVersionBackup.txt"

[RunActionScript]

Operation=ActionScript

InFile= LogFileName="E:\ ActionScripts\ DRMAutomation.csv"

Delimiter=comma

[ExportBook]

Operation=Export

ExportType=Book

BookName="All_Exports"

CurrentVersionAbbrev="CURRENT"

Note that the parameters for some operations are named objects that need to be created prior to running these processes. For example, to successfully run the scripts above, the external connection for a backup operation and the export books need to exist in DRM.

For further information about the configuration file commands and parameters, see the Using the Data Relationship Management Batch Client section of the Oracle DRM User Guide.

Partner SpotLight

Oracle

Oracle has the most comprehensive suite of integrated, global business applications that enable organizations to make better decisions, reduce cost..

Oracle Profile

Case Studies

Accumen

Thanks to the intervention of MindStream Analytics, Accumen's Finance department can now model their business with a new, more organized structure that isn't conventionally available in NetSuite.

Acme Brick

Acme Brick turned to MindStream Analytics for help implementing OneStream to replace their outdated TM1 solution.

Alterra

Alterra sought the expertise of MindStream to address the challenges they faced in their Capital Planning process.

ATCO Group

Energy conglomerate ATCO operates worldwide in utilities, power generation, and related services.

Avalon

Working with MindStream Analytics, Avalon Healthcare Solutions adopts NetSuite Planning and Budgeting to accelerate budgeting and forecasting processes.

Bayer Health Care

Bayer Healthcare implemented Hyperion Planning and Workforce Planning in 10 weeks to dramatically streamline their Income Statement budget and Workforce Planning process..

BluEarth

MindStream Analytics' partnership with BluEarth Renewables epitomizes the power of technology and collaboration.

Celgene

An Oracle Hyperion Planning Upgrade provides multi-national organization Hyperion Application optimization and stabilization.

Cleaver Brooks

OneStream XF was chosen as the platform that would transform Cleaver-Brooks' Finance processes.

CoorsTek

The collaboration between CoorsTek and MindStream resulted in significant improvements in CoorsTek's financial consolidation and reporting processes.

Elite Body Sculpture

MindStream Analytics' collaboration with Elite Body Sculpture encapsulates the transformative potential of targeted tech solutions in streamlining administrative processes.

Enlyte

Enlyte, a merger of Mitchell, Genex, and Coventry, faced challenges with disparate financial solutions and the need for combined reporting.

Flanders

MindStream Analytics collaborated with Flanders to implement OneStream Consolidation and Reporting solution.

Foley Products

Foley Products was facing a significant challenge with its Excel-based actual management reporting system.

Harte Hanks

The collaboration between MindStream Analytics and Harte Hanks culminated in a highly customized, user-friendly NetSuite implementation.

Interface

Interface used a complex, manual, excel-based FP&A process for monthly review, and the summary data was loaded in OneStream.

Kymera International

Thanks to Mindstream Analytics' assistance, Kymera was able to load all of their data into OneStream and validate it successfully.

MacLean Fogg

MacLean-Fogg partnered with MindStream, a leading implementor specializing in modernizing and optimizing enterprise systems.

MEPPI

MindStream's expertise and experience were sought to conduct a vendor selection initiative focusing on MEPPI's F2023 planning process.

OUAI

MindStream Analytics and OUAI's collaboration showcases the transformative power of strategic technological intervention.

Plaskolite

By migrating to OneStream, Plaskolite has achieved a material reduction in consolidation time and overall Financial Close cycle, eliminated the hours spent compiling and verifying data in Excel, streamlined its Planning, Budgeting and Forecasting model and delivered flexible and timely reporting that enables more strategic analysis of their financial data.

Redwire

Understanding the nuances of Redwire's challenges, MindStream Analytics devised a holistic approach to overcome them. The implementation of NetSuite was just the beginning.

Simon

Simon's existing corporate Hyperion Financial Management (HFM) production application was consolidating at a rate of seven hours, a performance issue causing great headache to corporate Accounting.

Source Code

The successful transition to OneStream revolutionized Source Code's financial reporting.

Subway

Subway collaborated with MindStream Analytics for the NetSuite Analytics Warehouse implementation.

UPenn

MindStream Consulting and AppCare team members are proud be working side by side with UPenn university in accomplishing this implementation and along with continuing our AppCare services after go-live.

USG

USG was an Oracle Hyperion customer realizing that it needed more specialized support for its various Oracle Hyperion applications.

Vantiv

Dividing a hyperion planning application, expanding the hyperion footprint to forecast on the business? Customer categories.

Versant Health

Versant Health engaged MindStream to help resolve the challenges they were experiencing with their consolidation, close, and financial reporting processes.

Virginia Spaceport Authority

The MindStream team implemented the Standard + Workforce NetSuite Planning & Budgeting.

WeWork

MindStream Analytics determined that the best solution was to implement Oracle Essbase Cloud as part of the Oracle Analytics Cloud (OAC) platform-as-a-service

WindStream

Innovative use of essbase to streamline and connect hyperion financial management for enhanced financial analysis.

XY Planning

MindStream Analytics, well-versed in addressing such challenges, presented a comprehensive Netsuite solution for XY Planning.

Related Links