<?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 DCL parameters in Apache under OpenVms in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319183#M2868</link>
    <description>Hello.&lt;BR /&gt;How is possible to pass parameters from an url to a CGI script made with a DCL? Can somebody write me a little example?&lt;BR /&gt;Many thanks everybody.</description>
    <pubDate>Wed, 30 Jun 2004 08:39:59 GMT</pubDate>
    <dc:creator>rAMIRO_2</dc:creator>
    <dc:date>2004-06-30T08:39:59Z</dc:date>
    <item>
      <title>DCL parameters in Apache under OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319183#M2868</link>
      <description>Hello.&lt;BR /&gt;How is possible to pass parameters from an url to a CGI script made with a DCL? Can somebody write me a little example?&lt;BR /&gt;Many thanks everybody.</description>
      <pubDate>Wed, 30 Jun 2004 08:39:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319183#M2868</guid>
      <dc:creator>rAMIRO_2</dc:creator>
      <dc:date>2004-06-30T08:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: DCL parameters in Apache under OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319184#M2869</link>
      <description>This is how it looks on WASD&lt;BR /&gt;&lt;BR /&gt;url : http://salpv1/report_ver_proc/?t=00:05&lt;BR /&gt;&lt;BR /&gt;where t is the parameter value&lt;BR /&gt;&lt;BR /&gt;in dcl you get&lt;BR /&gt;&lt;BR /&gt;$ if www_form_t .eqs. ...&lt;BR /&gt;&lt;BR /&gt;where t is the name of your parameter&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 30 Jun 2004 09:38:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319184#M2869</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2004-06-30T09:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: DCL parameters in Apache under OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319185#M2870</link>
      <description>Parameters passed in the URL, i.e. 'action.htm?option=edit&amp;amp;call=3456', can be extracted using the string 'QUERY_STRING'.&lt;BR /&gt;&lt;BR /&gt;Below is an example of how to create symbols with there corresponding values :-&lt;BR /&gt;&lt;BR /&gt;$LOAD_PARAMS:&lt;BR /&gt;$       QUERY_STRING = F$EDIT("''QUERY_STRING'","UPCASE")&lt;BR /&gt;$       !&lt;BR /&gt;$       sh sym query_string&lt;BR /&gt;$       !&lt;BR /&gt;$       COUNT = 0&lt;BR /&gt;$       !&lt;BR /&gt;$LOAD_PARAMS_LOOP:&lt;BR /&gt;$       PARAM_LONG = F$ELEM(COUNT,"&amp;amp;",QUERY_STRING)&lt;BR /&gt;$       IF PARAM_LONG .EQS. "&amp;amp;" .OR. PARAM_LONG .EQS. "" THEN GOTO END_LOAD_PARAMS_LOOP&lt;BR /&gt;$       !&lt;BR /&gt;$       PARAM_NAME = F$ELEM(0,"=",PARAM_LONG)&lt;BR /&gt;$       PARAM_VALUE = F$ELEM(1,"=",PARAM_LONG)&lt;BR /&gt;$       !&lt;BR /&gt;$       'PARAM_NAME' = "''PARAM_VALUE'"&lt;BR /&gt;$       !&lt;BR /&gt;$       sh sym 'param_name'&lt;BR /&gt;$       !&lt;BR /&gt;$       COUNT = COUNT + 1&lt;BR /&gt;$       GOTO LOAD_PARAMS_LOOP&lt;BR /&gt;$       !&lt;BR /&gt;$END_LOAD_PARAMS_LOOP:&lt;BR /&gt;$ .......&lt;BR /&gt;&lt;BR /&gt;Form data can also be extracted, using Mark Daniels CGIUTL (&lt;A href="http://wasd.vsm.com.au/wasd/)" target="_blank"&gt;http://wasd.vsm.com.au/wasd/)&lt;/A&gt; program :-&lt;BR /&gt;&lt;BR /&gt;$LOAD_CGI_VARIABLES:&lt;BR /&gt;$       CGIUTL = "$CMS$SYSTEM:CGIUTL.EXE"&lt;BR /&gt;$       DEFINE /NOLOG /USER SYS$INPUT APACHE$INPUT&lt;BR /&gt;$       CGIUTL /URLDECODE /SYMBOLS /MAXSYM=254&lt;BR /&gt;$       !&lt;BR /&gt;$!      sh sym cgiutl*&lt;BR /&gt;$       !&lt;BR /&gt;&lt;BR /&gt;Using these two methods, I've written comprehensive browser-based applications, purely in DCL.&lt;BR /&gt;&lt;BR /&gt;Let me know if you need any more help or examples.&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jul 2004 03:07:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319185#M2870</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2004-07-01T03:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: DCL parameters in Apache under OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319186#M2871</link>
      <description>Example HTML for a form:&lt;BR /&gt;&lt;FORM method="POST" action="https://community.hpe.com/cgi-bin/Dcl.com"&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;In DCL.COM you read these symbols via &lt;BR /&gt;$Read/Error=Exit/End=Error Apache$Input Data&lt;BR /&gt;&lt;BR /&gt;You must then parse the querystring using your own code or using seom freeware. I have written  &lt;BR /&gt;a small DCL routine to parse the string, see attached examples.&lt;/FORM&gt;</description>
      <pubDate>Fri, 02 Jul 2004 00:14:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319186#M2871</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2004-07-02T00:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: DCL parameters in Apache under OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319187#M2872</link>
      <description>Karl, how do you handle the string length limitations of DCL when parsing the HTTP request header?&lt;BR /&gt;&lt;BR /&gt;Rob.&lt;BR /&gt;&lt;BR /&gt;P.S. I like your coding style, but it must take forever with all that upper and lowercase text :-)</description>
      <pubDate>Fri, 02 Jul 2004 02:58:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319187#M2872</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2004-07-02T02:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: DCL parameters in Apache under OpenVms</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319188#M2873</link>
      <description>Re Karl Coding Style - it is said program source code is read many times and only written once - its worth the extra time writing readable DCL as DCL procedures have a a habit of persisting for years.&lt;BR /&gt;(I am also guilty of too much all uppercase DCL :-)</description>
      <pubDate>Fri, 02 Jul 2004 03:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-parameters-in-apache-under-openvms/m-p/3319188#M2873</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-07-02T03:11:11Z</dc:date>
    </item>
  </channel>
</rss>

