<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Importing/Updating AutoSys global variable's value. in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/importing-updating-autosys-global-variable-s-value/m-p/4013733#M8151</link>
    <description>More information has been given to me now.&lt;BR /&gt;&lt;BR /&gt;Following is the actual case:&lt;BR /&gt;&lt;BR /&gt;The AutoSys is being run on Windows only.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Now, the problem is, when I update the global variable of AutoSys (i.e. GLOB_VAR), this is the scenario:&lt;BR /&gt;&lt;BR /&gt;The global variable (GLOB_VAR) resides on a table belonging to AutoSys which holds only global variables.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;NOTE: We are using SQL Databases.&lt;BR /&gt;&lt;BR /&gt;I apologize if I provided too much or too little detail. If more information is required, please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot everybody.</description>
    <pubDate>Tue, 05 Jun 2007 15:16:26 GMT</pubDate>
    <dc:creator>Moe Zeddy</dc:creator>
    <dc:date>2007-06-05T15:16:26Z</dc:date>
    <item>
      <title>Importing/Updating AutoSys global variable's value.</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/importing-updating-autosys-global-variable-s-value/m-p/4013731#M8149</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I just started to work with AutoSys so I really don't know much about the system. &lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.).&lt;BR /&gt;&lt;BR /&gt;Please provide code. Many thanks in advance.</description>
      <pubDate>Tue, 05 Jun 2007 14:15:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/importing-updating-autosys-global-variable-s-value/m-p/4013731#M8149</guid>
      <dc:creator>Moe Zeddy</dc:creator>
      <dc:date>2007-06-05T14:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Importing/Updating AutoSys global variable's value.</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/importing-updating-autosys-global-variable-s-value/m-p/4013732#M8150</link>
      <description>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.&lt;BR /&gt;&lt;BR /&gt;Anyway, its just:&lt;BR /&gt;sendevent -E SET_GLOBAL -G "global_name=DELETE"&lt;BR /&gt;&lt;BR /&gt;That was taking straight from the man page.&lt;BR /&gt;&lt;BR /&gt;It wasn't that clear if you want to set the Global variable or you need to get the value of the global variable. &lt;BR /&gt;&lt;BR /&gt;You get can the value by autorep -G global_name&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2007 14:33:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/importing-updating-autosys-global-variable-s-value/m-p/4013732#M8150</guid>
      <dc:creator>Dave Hutton</dc:creator>
      <dc:date>2007-06-05T14:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Importing/Updating AutoSys global variable's value.</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/importing-updating-autosys-global-variable-s-value/m-p/4013733#M8151</link>
      <description>More information has been given to me now.&lt;BR /&gt;&lt;BR /&gt;Following is the actual case:&lt;BR /&gt;&lt;BR /&gt;The AutoSys is being run on Windows only.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Now, the problem is, when I update the global variable of AutoSys (i.e. GLOB_VAR), this is the scenario:&lt;BR /&gt;&lt;BR /&gt;The global variable (GLOB_VAR) resides on a table belonging to AutoSys which holds only global variables.&lt;BR /&gt;&lt;BR /&gt;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. &lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;NOTE: We are using SQL Databases.&lt;BR /&gt;&lt;BR /&gt;I apologize if I provided too much or too little detail. If more information is required, please let me know.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot everybody.</description>
      <pubDate>Tue, 05 Jun 2007 15:16:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/importing-updating-autosys-global-variable-s-value/m-p/4013733#M8151</guid>
      <dc:creator>Moe Zeddy</dc:creator>
      <dc:date>2007-06-05T15:16:26Z</dc:date>
    </item>
  </channel>
</rss>

