- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Microsoft
- >
- Importing/Updating AutoSys global variable's value...
Operating System - Microsoft
1825006
Members
2797
Online
109678
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2007 07:15 AM
тАО06-05-2007 07:15 AM
Importing/Updating AutoSys global variable's value.
Hello,
I just started to work with AutoSys so I really don't know much about the system.
I am in the process of developing a VBScript which requires me to update value of a global variable belonging to AutoSys. We are using SQL databases.
Also, how can you import value of the AutoSys's global variable into VBScript (to be assigned to a VBScript variable such as Int, String, etc.).
Please provide code. Many thanks in advance.
I just started to work with AutoSys so I really don't know much about the system.
I am in the process of developing a VBScript which requires me to update value of a global variable belonging to AutoSys. We are using SQL databases.
Also, how can you import value of the AutoSys's global variable into VBScript (to be assigned to a VBScript variable such as Int, String, etc.).
Please provide code. Many thanks in advance.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2007 07:33 AM
тАО06-05-2007 07:33 AM
Re: Importing/Updating AutoSys global variable's value.
How you set it in unix, and I'm assuming thats where you want to set it even though your talking about Visual Basic? I think on windows you have access to the sendevent command also.
Anyway, its just:
sendevent -E SET_GLOBAL -G "global_name=DELETE"
That was taking straight from the man page.
It wasn't that clear if you want to set the Global variable or you need to get the value of the global variable.
You get can the value by autorep -G global_name
Anyway, its just:
sendevent -E SET_GLOBAL -G "global_name=DELETE"
That was taking straight from the man page.
It wasn't that clear if you want to set the Global variable or you need to get the value of the global variable.
You get can the value by autorep -G global_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2007 08:16 AM
тАО06-05-2007 08:16 AM
Re: Importing/Updating AutoSys global variable's value.
More information has been given to me now.
Following is the actual case:
The AutoSys is being run on Windows only.
When my VBScript (not Visual Basics) script is run, I will calculate the system time and format the date as required and update a global variable of the AutoSys with the formatted date.
Now, the problem is, when I update the global variable of AutoSys (i.e. GLOB_VAR), this is the scenario:
The global variable (GLOB_VAR) resides on a table belonging to AutoSys which holds only global variables.
I was told that I have to use JIL (Job Information Language) commands in order to run commands from my script to update the global variable BUT... the JIL is only run from command prompt.
In specific: How can you issue commands from your VBScript to get value of a global variable or to update the value of a global variable given the above scenario?
NOTE: We are using SQL Databases.
I apologize if I provided too much or too little detail. If more information is required, please let me know.
Thanks a lot everybody.
Following is the actual case:
The AutoSys is being run on Windows only.
When my VBScript (not Visual Basics) script is run, I will calculate the system time and format the date as required and update a global variable of the AutoSys with the formatted date.
Now, the problem is, when I update the global variable of AutoSys (i.e. GLOB_VAR), this is the scenario:
The global variable (GLOB_VAR) resides on a table belonging to AutoSys which holds only global variables.
I was told that I have to use JIL (Job Information Language) commands in order to run commands from my script to update the global variable BUT... the JIL is only run from command prompt.
In specific: How can you issue commands from your VBScript to get value of a global variable or to update the value of a global variable given the above scenario?
NOTE: We are using SQL Databases.
I apologize if I provided too much or too little detail. If more information is required, please let me know.
Thanks a lot everybody.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP