<?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: Comman line argument in JAVA on VMS in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788815#M34239</link>
    <description>And "it[']s not working" means what, exactly?&lt;BR /&gt;&lt;BR /&gt;Guess-work begins here.&lt;BR /&gt;&lt;BR /&gt;You may need to quote command-line arguments&lt;BR /&gt;if the case is important.  If that's the&lt;BR /&gt;problem, SET PROCESS /PARSE_STYLE = EXTENDED&lt;BR /&gt;might help, but I don't use Java enough to&lt;BR /&gt;know if that'll do everything you need.</description>
    <pubDate>Tue, 16 May 2006 10:33:54 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2006-05-16T10:33:54Z</dc:date>
    <item>
      <title>Comman line argument in JAVA on VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788814#M34238</link>
      <description>hi,&lt;BR /&gt;  i am using the VMS operating System. I am running Java Application on it. I have created a small program which reads three command line arguments and uses them in program.&lt;BR /&gt;&lt;BR /&gt;Can anyone kindly tell me, how can i declare the command line arguments ?&lt;BR /&gt;i need the syntax.&lt;BR /&gt;&lt;BR /&gt;the code is running fine on windows.&lt;BR /&gt;&lt;BR /&gt;java "read" login password filename&lt;BR /&gt;&lt;BR /&gt;i am using the above mentioned command but its not working.</description>
      <pubDate>Tue, 16 May 2006 06:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788814#M34238</guid>
      <dc:creator>Ravi Chandel</dc:creator>
      <dc:date>2006-05-16T06:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Comman line argument in JAVA on VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788815#M34239</link>
      <description>And "it[']s not working" means what, exactly?&lt;BR /&gt;&lt;BR /&gt;Guess-work begins here.&lt;BR /&gt;&lt;BR /&gt;You may need to quote command-line arguments&lt;BR /&gt;if the case is important.  If that's the&lt;BR /&gt;problem, SET PROCESS /PARSE_STYLE = EXTENDED&lt;BR /&gt;might help, but I don't use Java enough to&lt;BR /&gt;know if that'll do everything you need.</description>
      <pubDate>Tue, 16 May 2006 10:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788815#M34239</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2006-05-16T10:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Comman line argument in JAVA on VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788816#M34240</link>
      <description>Ravi,&lt;BR /&gt;&lt;BR /&gt;it should be the same commandline argument passing as under Windows (String[] args).&lt;BR /&gt;&lt;BR /&gt;Please elaborate on what's not working as expected.&lt;BR /&gt;&lt;BR /&gt;cu,&lt;BR /&gt;  Martin</description>
      <pubDate>Wed, 17 May 2006 04:13:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788816#M34240</guid>
      <dc:creator>Martin Vorlaender</dc:creator>
      <dc:date>2006-05-17T04:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Comman line argument in JAVA on VMS</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788817#M34241</link>
      <description>Try the following:&lt;BR /&gt;&lt;BR /&gt;$    define java$classpath -&lt;BR /&gt;            path_to_jar:my_jar.jar, -&lt;BR /&gt;            path_to_jar:log4j_1_2_8.jar, -&lt;BR /&gt;            path_to_jar:commons-logging_1_0_3.jar, -&lt;BR /&gt;            path_to_jar:commons-cli_1_0.jar, -&lt;BR /&gt;            path_to_jar:commons-pool-1-2.jar, -&lt;BR /&gt;            path_to_jar:commons-dbcp-1-2-1.jar, -&lt;BR /&gt;            path_to_jar:commons-beanutils_1_7.jar, -&lt;BR /&gt;            path_to_jar:commons-digester-1_7.jar&lt;BR /&gt;$       !&lt;BR /&gt;$       on error then goto error_point&lt;BR /&gt;$       !&lt;BR /&gt;$       java -cp $java$classpath -&lt;BR /&gt;             "myprogram.main" -&lt;BR /&gt;             --spring "''myconfig_xml'" -&lt;BR /&gt;             --update -&lt;BR /&gt;             --outcsvfile "''my_file'.csv_tmp" -&lt;BR /&gt;             --date "''use_date'"&lt;BR /&gt;$       !&lt;BR /&gt;$       set noon&lt;BR /&gt;$       !&lt;BR /&gt;&lt;BR /&gt;We use commons-cli in the Java to read in command line parameters and the above gives examples of different uses. &lt;BR /&gt;&lt;BR /&gt;NB the above is only an example not a working system.</description>
      <pubDate>Thu, 15 Jun 2006 04:10:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/comman-line-argument-in-java-on-vms/m-p/3788817#M34241</guid>
      <dc:creator>P R Stone_1</dc:creator>
      <dc:date>2006-06-15T04:10:33Z</dc:date>
    </item>
  </channel>
</rss>

