Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Automate Scheduler Creation with memory Files

Solved1.55K views10th August 2023#InputConfig Automation Scheduler
0
Amer Hodzic [DevOps Member]774 10th August 2023 0 Comments

Hi Dojo Community,

My question is pretty simple is there a way to set a value to the memory file when creating a schedule through automation(The Info_file section):

I tried adding it into the object but now luck.

Any help on this would be really appreciated.

Thanks in advance

Edit*************

Amer Hodzic [DevOps Member] Edited question 10th August 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Thomas Ghysbrecht [SLC] [DevOps Enabler]4.80K Posted 10th August 2023 5 Comments

Hi Amer,

Providing the memory files to the script action can be done by adding a string to the second string array with the syntax 'MEMORY:1:MyMemoryFile'. You can add multiple strings and increment the number in the middle if you have multiple memory files. The same applies to dummies and parameters. A script action string array could then look like this:

0: "Automation"
1: "My Script Name"
2: "PROTOCOL:1:686:98" <- Dummy
3: "PARAMETER:1:Value for parameter"
4: "MEMORY:1:MyMemoryFile"
5: "MEMORY:2:OtherMemoryFile"
6: "CHECKSETS:FALSE"
7: "DEFER:FALSE"

If I interpret the script you provided correctly, you should only need to change the value of the 'paramLinked' variable to "MEMORY:1:<name of the selected memory file>".

Amer Hodzic [DevOps Member] Posted new comment 10th August 2023
Amer Hodzic [DevOps Member] commented 10th August 2023

Hi Thomas,
I did as you stated but when the scheduled task gets created it is still an empty value that must be manually assainged

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 10th August 2023

Hi Amer, The best way of ensuring that you are sending the correct values would be to compare them with those sent by Cube. You can do this by following the messages sent to the server using the SLNet Client Test Tool: https://docs.dataminer.services/user-guide/Reference/DataMiner_Tools/SLNetClientTest_tool.html.

These would be the steps:
– Open the SLNet Client Test Tool
– Connect to the DMA
– Click on ‘Follow > Folow…’ in the top bar. A new window will open.
– Select in the dropdown the connection of your cube session. (Should start with ‘Cube’ and contain your username)
– Click on ‘OK’ at the bottom right.
– Now, open the scheduled task in Cube, select the expected memory file and click ‘OK’ to save the task.
– You should now see a bunch of messages in the tool’s window.
– Find the message with text ‘Request: Set Scheduler Info’ and click on it.
– In the right pane of the tool, you can now drill down into the message. You should be able to find the array structure which you have defined in your script by opening ‘Messages > [0000] > Ppsa > Ppsa’. In the second array, you should then find how Cube defined the memory file. You can then code this same structure in your script.

Let me know if you are experiencing difficulties with that.

Amer Hodzic [DevOps Member] commented 10th August 2023

So I have resolved it using the SLNet Client test and checked it was sending the correct values “MEMORY:1:InfoFile” but when check what was set when setting the automated schedule it ended up being “MEMORY:1000:InfoFile” which now works with code.

would there be a way to set the file automatically when executing a script see the edit for the image.

Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 10th August 2023

I’m unfortunately not aware that there is a way to set a default memory file.

Amer Hodzic [DevOps Member] commented 10th August 2023

Ah ok.
Thank you for your help.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

How to implement bearer token refresh? 0 Answers | 0 Votes
Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin