<?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 FAC, record operation not permitted by specified file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963361#M35664</link>
    <description>Hi guys,&lt;BR /&gt;Im try to run a program from a command procedure and having a problem providing input in the following ways:&lt;BR /&gt;&lt;BR /&gt;eg1&lt;BR /&gt;$DEFINE/USER_MODE SYS$INPUT DATA.TXT&lt;BR /&gt;$RUN PROGRAM&lt;BR /&gt;$EXIT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;eg2&lt;BR /&gt;$RUN PROGRAM&lt;BR /&gt;1&lt;BR /&gt;HELLO&lt;BR /&gt;D&lt;BR /&gt;F&lt;BR /&gt;$EXIT&lt;BR /&gt;&lt;BR /&gt;When i run the command procedure using both methods im getting a Fac,record operation not permitted by specified file.&lt;BR /&gt;&lt;BR /&gt;I looked up the error in the vms systems messages and recovery procedures reference manual (&lt;A href="http://www.sysworks.com.au/disk$cddoc04mar21/decw$book/d32vaa95.p127.decw$book)" target="_blank"&gt;http://www.sysworks.com.au/disk$cddoc04mar21/decw$book/d32vaa95.p127.decw$book)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and is said if the error occurred during execution of an image, verify that the FAC parameter in the FAB indicates the requested type of access&lt;BR /&gt;&lt;BR /&gt;Also it states that  If the error occurred during use of the DCL commands,verify that the correct qualifier is specified when the DCL command OPEN is entered to open the file.&lt;BR /&gt;&lt;BR /&gt;Greatly in need of some assistance.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Mark Vitalis</description>
    <pubDate>Fri, 16 Mar 2007 06:11:12 GMT</pubDate>
    <dc:creator>Mark Vitalis</dc:creator>
    <dc:date>2007-03-16T06:11:12Z</dc:date>
    <item>
      <title>FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963361#M35664</link>
      <description>Hi guys,&lt;BR /&gt;Im try to run a program from a command procedure and having a problem providing input in the following ways:&lt;BR /&gt;&lt;BR /&gt;eg1&lt;BR /&gt;$DEFINE/USER_MODE SYS$INPUT DATA.TXT&lt;BR /&gt;$RUN PROGRAM&lt;BR /&gt;$EXIT&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;eg2&lt;BR /&gt;$RUN PROGRAM&lt;BR /&gt;1&lt;BR /&gt;HELLO&lt;BR /&gt;D&lt;BR /&gt;F&lt;BR /&gt;$EXIT&lt;BR /&gt;&lt;BR /&gt;When i run the command procedure using both methods im getting a Fac,record operation not permitted by specified file.&lt;BR /&gt;&lt;BR /&gt;I looked up the error in the vms systems messages and recovery procedures reference manual (&lt;A href="http://www.sysworks.com.au/disk$cddoc04mar21/decw$book/d32vaa95.p127.decw$book)" target="_blank"&gt;http://www.sysworks.com.au/disk$cddoc04mar21/decw$book/d32vaa95.p127.decw$book)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and is said if the error occurred during execution of an image, verify that the FAC parameter in the FAB indicates the requested type of access&lt;BR /&gt;&lt;BR /&gt;Also it states that  If the error occurred during use of the DCL commands,verify that the correct qualifier is specified when the DCL command OPEN is entered to open the file.&lt;BR /&gt;&lt;BR /&gt;Greatly in need of some assistance.&lt;BR /&gt;&lt;BR /&gt;Sincerely,&lt;BR /&gt;Mark Vitalis</description>
      <pubDate>Fri, 16 Mar 2007 06:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963361#M35664</guid>
      <dc:creator>Mark Vitalis</dc:creator>
      <dc:date>2007-03-16T06:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963362#M35665</link>
      <description>is the program trying to write or perform a $FIND RMS operation?</description>
      <pubDate>Fri, 16 Mar 2007 06:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963362#M35665</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-03-16T06:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963363#M35666</link>
      <description>&amp;gt;&amp;gt; I looked up the error in the vms systems messages &lt;BR /&gt;&lt;BR /&gt;You can also use $HELP/MESS/FAC=RMS FAC&lt;BR /&gt;It's the 3rd one down, as the string FAC has many matches. WHich is why i also gave the explcit facitily &lt;BR /&gt;&lt;BR /&gt;It is probably BROKEN CODE which use SYS$INPUT to do output on. That works for a terminal, but not for a file.&lt;BR /&gt;&lt;BR /&gt;Code inspection recommend.&lt;BR /&gt;&lt;BR /&gt;System call trace may be helpfull, but probably overkill&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 06:29:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963363#M35666</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-03-16T06:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963364#M35667</link>
      <description>Basically what the program does is generate a report which is a .rep file of transactions based input data.&lt;BR /&gt;&lt;BR /&gt;How do yuo go about verifing the file access control parameter in the fab indicating the requested type of access?&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 08:06:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963364#M35667</guid>
      <dc:creator>Mark Vitalis</dc:creator>
      <dc:date>2007-03-16T08:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963365#M35668</link>
      <description>So the main output goes to a specific file &lt;BR /&gt;(.rep). That's good to know.&lt;BR /&gt;Is there any other output besides the report?&lt;BR /&gt;Maybe as sime as 'nnn records processed.'&lt;BR /&gt;&lt;BR /&gt;May we assume the program works nicely when allowed to prompt for input?&lt;BR /&gt;&lt;BR /&gt;More specifically... did it 'prompt'? SMG?&lt;BR /&gt;What is the exact mechanisme used for the prompt? What language? What system services?&lt;BR /&gt;&lt;BR /&gt;When the input is coming from a file, where do you suggest the prompt should go to?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; How do yuo go about verifing the file access control parameter in the fab indicating the requested type of access? &lt;BR /&gt;&lt;BR /&gt;It's best to study what the program does.&lt;BR /&gt;&lt;BR /&gt;For some (few) language you can intercept the RMS calls and display the fab from there.&lt;BR /&gt;&lt;BR /&gt;If you can run interactively, then wait until the last promtt. Now with an other session and big privs (CMKRNL) use ANAL/SYSTEM... SET PROC &lt;YOUR test=""&gt; ... SHOW PROC /CHAN ... SHOW PROC/RMS=FAB&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/YOUR&gt;</description>
      <pubDate>Fri, 16 Mar 2007 08:17:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963365#M35668</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-03-16T08:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963366#M35669</link>
      <description>This report is the only output. It works &lt;BR /&gt;nicely when input is from the terminal to &lt;BR /&gt;&lt;BR /&gt;the point that i am able to enter input for the various prompts, however I havenâ  t run the entire program from the command procedure using terminal input.&lt;BR /&gt;&lt;BR /&gt;When input is from the file the entire process in aborted...and there is a new version of the input file with the first line of input in the form similar to:&lt;BR /&gt;&lt;BR /&gt;12:59_tnd User id&amp;gt;</description>
      <pubDate>Fri, 16 Mar 2007 08:49:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963366#M35669</guid>
      <dc:creator>Mark Vitalis</dc:creator>
      <dc:date>2007-03-16T08:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963367#M35670</link>
      <description>Also the program is written in FORTRAN &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 08:57:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963367#M35670</guid>
      <dc:creator>Mark Vitalis</dc:creator>
      <dc:date>2007-03-16T08:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963368#M35671</link>
      <description>Maybe your fortran code is using the same unit for reading and writing?</description>
      <pubDate>Fri, 16 Mar 2007 09:29:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963368#M35671</guid>
      <dc:creator>EdgarZamora_1</dc:creator>
      <dc:date>2007-03-16T09:29:02Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963369#M35672</link>
      <description>&amp;gt;&amp;gt;&amp;gt; Also the program is written in FORTRAN&lt;BR /&gt;&lt;BR /&gt;Ok... now look at the unit number for the terminal IO.&lt;BR /&gt;&lt;BR /&gt;It is using the same (5?) for input and output?&lt;BR /&gt;It should use 2 unit/channels.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Did you try the ANAL/RMS ... SHOW PROC/RMS thing?&lt;BR /&gt;That should confirm all this.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 09:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963369#M35672</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-03-16T09:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: FAC, record operation not permitted by specified file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963370#M35673</link>
      <description>Hein, i haven't, and i can't at the moment because im running a DCL lite version...but do they go on the command line or within the procedure? &lt;BR /&gt;&lt;BR /&gt;I know for sure that 5 is the unit/channel for the input, i can't say for the output, i'll have to check.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Mar 2007 10:10:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/fac-record-operation-not-permitted-by-specified-file/m-p/3963370#M35673</guid>
      <dc:creator>Mark Vitalis</dc:creator>
      <dc:date>2007-03-16T10:10:45Z</dc:date>
    </item>
  </channel>
</rss>

