<?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: dcl coding error in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287032#M44706</link>
    <description>&amp;gt; $ SET PROC/PRIV=ALL&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ INQUIRE [...]&lt;BR /&gt;&lt;BR /&gt;Not a good combination:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_2216.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_2216.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using READ on SYS$COMMAND is safer.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ MC AUTHORIZE&lt;BR /&gt;&amp;gt; $ MODIFY/FLAGS=DISPWDHIS 'NAME'&lt;BR /&gt;&amp;gt; $ MODIFY/FLAGS=DISPWDDIC 'NAME'&lt;BR /&gt;&lt;BR /&gt;I'd expect some error messages here, which&lt;BR /&gt;you ought to have included.&lt;BR /&gt;&lt;BR /&gt;"$ MODIFY" is treated as a separate command.&lt;BR /&gt;Remove the "$" to let AUTHORIZE read it.&lt;BR /&gt;&lt;BR /&gt;But that won't work as you wish, because DCL&lt;BR /&gt;will not substitute 'NAME' that way.&lt;BR /&gt;&lt;BR /&gt;You could say things like:&lt;BR /&gt;&lt;BR /&gt;$ MCR AUTHORIZE MODIFY/FLAGS=DISPWDHIS 'NAME'&lt;BR /&gt;&lt;BR /&gt;DCL will substitute 'NAME' that way.&lt;BR /&gt;&lt;BR /&gt;Many other things are possible, too, like&lt;BR /&gt;writing a temporary file with the "MCR&lt;BR /&gt;AUTHORIZE" command and the actual AUTHORIZE&lt;BR /&gt;commands (like MODIFY) in it.</description>
    <pubDate>Tue, 14 Oct 2008 22:51:48 GMT</pubDate>
    <dc:creator>Steven Schweda</dc:creator>
    <dc:date>2008-10-14T22:51:48Z</dc:date>
    <item>
      <title>dcl coding error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287031#M44705</link>
      <description>i have just recently started working with vms. i have written a dcl program but it given a error, can someone please help me here.&lt;BR /&gt;$ SET PROC/PRIV=ALL&lt;BR /&gt;$ SET NOON&lt;BR /&gt;$ GET_NAME:&lt;BR /&gt;$!&lt;BR /&gt;$ INQUIRE NAME "Enter Username Or Exit =&amp;gt;"&lt;BR /&gt;$ IF NAME .EQS. "EXIT" THEN GOTO END_LOOP&lt;BR /&gt;$!&lt;BR /&gt;$ MC AUTHORIZE&lt;BR /&gt;$ MODIFY/FLAGS=DISPWDHIS 'NAME'&lt;BR /&gt;$ MODIFY/FLAGS=DISPWDDIC 'NAME'&lt;BR /&gt;$!&lt;BR /&gt;$ GOTO GET_NAME&lt;BR /&gt;$!&lt;BR /&gt;$ END_LOOP:&lt;BR /&gt;$     WRITE SYS$OUTPUT "WELL DONE"&lt;BR /&gt;$ EXIT&lt;BR /&gt;&lt;BR /&gt;I cant seem to change the flag</description>
      <pubDate>Tue, 14 Oct 2008 22:19:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287031#M44705</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2008-10-14T22:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: dcl coding error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287032#M44706</link>
      <description>&amp;gt; $ SET PROC/PRIV=ALL&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ INQUIRE [...]&lt;BR /&gt;&lt;BR /&gt;Not a good combination:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/wizard/wiz_2216.html" target="_blank"&gt;http://h71000.www7.hp.com/wizard/wiz_2216.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using READ on SYS$COMMAND is safer.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; $ MC AUTHORIZE&lt;BR /&gt;&amp;gt; $ MODIFY/FLAGS=DISPWDHIS 'NAME'&lt;BR /&gt;&amp;gt; $ MODIFY/FLAGS=DISPWDDIC 'NAME'&lt;BR /&gt;&lt;BR /&gt;I'd expect some error messages here, which&lt;BR /&gt;you ought to have included.&lt;BR /&gt;&lt;BR /&gt;"$ MODIFY" is treated as a separate command.&lt;BR /&gt;Remove the "$" to let AUTHORIZE read it.&lt;BR /&gt;&lt;BR /&gt;But that won't work as you wish, because DCL&lt;BR /&gt;will not substitute 'NAME' that way.&lt;BR /&gt;&lt;BR /&gt;You could say things like:&lt;BR /&gt;&lt;BR /&gt;$ MCR AUTHORIZE MODIFY/FLAGS=DISPWDHIS 'NAME'&lt;BR /&gt;&lt;BR /&gt;DCL will substitute 'NAME' that way.&lt;BR /&gt;&lt;BR /&gt;Many other things are possible, too, like&lt;BR /&gt;writing a temporary file with the "MCR&lt;BR /&gt;AUTHORIZE" command and the actual AUTHORIZE&lt;BR /&gt;commands (like MODIFY) in it.</description>
      <pubDate>Tue, 14 Oct 2008 22:51:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287032#M44706</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2008-10-14T22:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: dcl coding error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287033#M44707</link>
      <description>thanks man, it worked out. thanks once again. this forum is good</description>
      <pubDate>Tue, 14 Oct 2008 23:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287033#M44707</guid>
      <dc:creator>adarsh_4</dc:creator>
      <dc:date>2008-10-14T23:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: dcl coding error</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287034#M44708</link>
      <description>So give some HP 'points'.&lt;BR /&gt;He loves to hate them.  :-)&lt;BR /&gt;And consider 'closing the topic'.&lt;BR /&gt;&lt;BR /&gt;btw... OpenVMS users don't do exit/bye/quit.&lt;BR /&gt;And they most certainly can not be bothered with uppercase/lowercase.&lt;BR /&gt;They just hit ^Z (control-Z) or &lt;RETURN&gt;&lt;BR /&gt;&lt;BR /&gt;So at least change to:&lt;BR /&gt;$ IF NAME.EQS."" .OR.  F$EDIT(NAME,"UPCASE").EQS."EXIT"....&lt;BR /&gt;&lt;BR /&gt;Be sure check out READ/END and ON ERROR&lt;BR /&gt;&lt;BR /&gt;Add don;t just SET PROC/PRIV without restting.&lt;BR /&gt;Check ot $HELP LEXI F$SETPRV return_value&lt;BR /&gt;&lt;BR /&gt;Other then that it is just fine... :-)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein &lt;BR /&gt;&lt;BR /&gt;( 0 points for this! )&lt;/RETURN&gt;</description>
      <pubDate>Wed, 15 Oct 2008 00:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/dcl-coding-error/m-p/4287034#M44708</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-10-15T00:27:28Z</dc:date>
    </item>
  </channel>
</rss>

