<?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: device Access violation in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163272#M43508</link>
    <description>I didn't see Willem's until after I posted my response.  I agree that if TASADM is in a limited UIC group, his suggestion is better.&lt;BR /&gt;&lt;BR /&gt;Or to make it dynamic for a single user&lt;BR /&gt;&lt;BR /&gt;$ if f$edit(f$getjpi("","USERNAME"),"TRIM") .eqs. "''F$TRNLNM("SYLOGIN_VERIFY_USER")'" then set verify&lt;BR /&gt;&lt;BR /&gt;Then to turn on verification for user TASADM&lt;BR /&gt;&lt;BR /&gt;$ define/system SYLOGIN_VERIFY_USER TASADM&lt;BR /&gt;&lt;BR /&gt;To turn off&lt;BR /&gt;&lt;BR /&gt;$ deassign/system SYLOGIN_VERIFY_USER&lt;BR /&gt;&lt;BR /&gt;Jon</description>
    <pubDate>Wed, 19 Mar 2008 08:28:06 GMT</pubDate>
    <dc:creator>Jon Pinkley</dc:creator>
    <dc:date>2008-03-19T08:28:06Z</dc:date>
    <item>
      <title>device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163261#M43497</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;After i run my script and i check the log file i found the below error.....&lt;BR /&gt;&lt;BR /&gt;Could anyone help on this problem pls.... ;)&lt;BR /&gt;&lt;BR /&gt;$ Set NoOn                                                                      &lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))                                 &lt;BR /&gt;%SET-W-NOTSET, error modifying $1$DGA4:                                         &lt;BR /&gt;-SET-E-INVDEV, device is invalid for requested operation                        &lt;BR /&gt;%SYSTEM-F-ACCVIO, access violation, reason mask=00, virtual address=FFFFFFFFFFFF&lt;BR /&gt;FFC0, PC=FFFFFFFF8098A8E8, PS=0000001B                                          &lt;BR /&gt;                                                                                &lt;BR /&gt;  Improperly handled condition, image exit forced.                              &lt;BR /&gt;    Signal arguments:   Number = 0000000000000005                               &lt;BR /&gt;                        Name   = 000000000000000C                               &lt;BR /&gt;                                 0000000000000000                               &lt;BR /&gt;                                 FFFFFFFFFFFFFFC0                               &lt;BR /&gt;                                 FFFFFFFF8098A8E8                               &lt;BR /&gt;                                 000000000000001B                               &lt;BR /&gt;                                                                                &lt;BR /&gt;    Register dump:                                                              &lt;BR /&gt;    R0  = 0000000000000001  R1  = 0000000000000020  R2  = 000000007BF6B300      &lt;BR /&gt;    R3  = 000000007AE563F0  R4  = 000000007AE563A8  R5  = 000000007AE563B8      &lt;BR /&gt;    R6  = 000000007AE563D0  R7  = FFFFFFFFFFFFFFC0  R8  = FFFFFFFFFFFFFFFF      &lt;BR /&gt;    R9  = 000000007BFD9DE8  R10 = 00000000000228BE  R11 = 000000000000001B      &lt;BR /&gt;    R12 = 0000000000000000  R13 = 000000007AF005C0  R14 = 00000000000A51A8      &lt;BR /&gt;    R15 = 0000000000000000  R16 = FFFFFFFFFFFFFFC0  R17 = FFFFFFFFFFFFFFFF      &lt;BR /&gt;    R18 = 000000007AE56D10  R19 = 0000000000000000  R20 = 000000007BF6B328      &lt;BR /&gt;    R21 = 0000000000000000  R22 = 0000000000000000  R23 = 0000000000096080      &lt;BR /&gt;    R24 = 0000000000000000  R25 = 0000000000000001  R26 = FFFFFFFF80A1A354      &lt;BR /&gt;    R27 = 000000007BF78D70  R28 = FFFFFFFF80A1A2D0  R29 = 000000007AE56320      &lt;BR /&gt;    SP  = 000000007AE56320  PC  = FFFFFFFF8098A8E8  PS  = 200000000000001B      &lt;BR /&gt;  TASADM       job terminated at 18-MAR-2008 10:13:06.34                        &lt;BR /&gt;                                                                                &lt;BR /&gt;  Accounting information:                                                       &lt;BR /&gt;  Buffered I/O count:                479      Peak working set size:       3920 &lt;BR /&gt;  Direct I/O count:                 1108      Peak virtual size:         170144 &lt;BR /&gt;  Page faults:                       370      Mounted volumes:                0 &lt;BR /&gt;  Charged CPU time:        0 00:00:00.31      Elapsed time:       0 00:00:05.86 &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2008 03:06:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163261#M43497</guid>
      <dc:creator>Lim AY</dc:creator>
      <dc:date>2008-03-18T03:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163262#M43498</link>
      <description>The first error "%SET-W-NOTSET, error modifying $1$DGA4: &lt;BR /&gt;" It is sure to be a poorly written batch job or (SY)LOGIN.COM.&lt;BR /&gt;&lt;BR /&gt;Dollars to donuts there is an unconditional SET TERM... command in there which should be in conditional based on F$MODE() being INTERACTIVE or not.&lt;BR /&gt;&lt;BR /&gt;The ACCVIO may or might not be the same problem.&lt;BR /&gt;&lt;BR /&gt;But how can we tell if you do not show which command caused the error?&lt;BR /&gt;&lt;BR /&gt;You need to re-run with SET VERIFY active and hopefully also with a timestamp in the prompt string in the log.&lt;BR /&gt;&lt;BR /&gt;YOU need to show us the command and then WE can try to help.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2008 03:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163262#M43498</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-03-18T03:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163263#M43499</link>
      <description>Lim,&lt;BR /&gt;&lt;BR /&gt;As Hein said, if your procedure needs to display something to the terminal and/or expecting user response, then that com procedure needs to be run in interactive mode. If it runs in batch mode, then usually we will get the above error.&lt;BR /&gt;&lt;BR /&gt;in this case we need to check the mode is interactive or batch to avoid this type of error.&lt;BR /&gt;&lt;BR /&gt;But to make sure the exact reason, better if you could past the procedure, it would be nice.&lt;BR /&gt;&lt;BR /&gt;Archie</description>
      <pubDate>Tue, 18 Mar 2008 04:26:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163263#M43499</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2008-03-18T04:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163264#M43500</link>
      <description>Lim,&lt;BR /&gt;&lt;BR /&gt;I concur with Hein, the SET error and the ACCVIO are unrelated.&lt;BR /&gt;&lt;BR /&gt;PLEASE make SYS$SYLOGIN execute the F$VERIFY conditionally; only in INTERACTIVE mode.&lt;BR /&gt;Your LOG files will be (some much) bigger, but they will tell you A LOT more if something goes wrong somewhere.&lt;BR /&gt;&lt;BR /&gt;in addition to the request by Hein, please tell us the hardware (Vax, Alpha, IA64 ?) and the OpenVMS version.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Tue, 18 Mar 2008 08:20:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163264#M43500</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-03-18T08:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163265#M43501</link>
      <description>[[[As Hein said, if your procedure needs to display something to the terminal and/or expecting user response, then that com procedure needs to be run in interactive mode. If it runs in batch mode, then usually we will get the above error.&lt;BR /&gt;&lt;BR /&gt;in this case we need to check the mode is interactive or batch to avoid this type of error.]]]&lt;BR /&gt;&lt;BR /&gt;That refers to the SET command error, and not to the the ACCVIO.&lt;BR /&gt;&lt;BR /&gt;The HELP /MESSAGE ACCVIO text has a starting point on what the access violation is telling you.  From what initially looks to be cryptic, you can learn a whole lot -- if you still have the source listing(s) and the LINKER map(s) around for whatever is tipping over here.&lt;BR /&gt;&lt;BR /&gt;The failing program counter is in system space.  (No, that doesn't necessarily mean you've found a bug in OpenVMS.  It's quite common for an errant system call in an application to lead to a similar footprint; the application passes in bad data to a system service, and OpenVMS eventually detects and punts the error.)  The failing virtual address is -1, and the program counter that tried to access address -1 is at FFFFFFFF8098A8E8.  (That's a local value, so you'll have to find out what is there on your system.)&lt;BR /&gt;&lt;BR /&gt;The contents of the dump shown indicates the application was not built with traceback, which makes figuring out what happened rather more difficult.&lt;BR /&gt;&lt;BR /&gt;Oh and FWIW, one subtlety here in how OpenVMS displays its error messages during its processing of the signal: the percent character indicates the first or primary message in a signal array, and the hyphen indicates a related or subsequent message associated with the primary message.  The presence of the two percent signs shown in the dump indicates two different signal arrays are present.  While it is possible to encounter two signals from one application, these percent signs (and longstanding familiarity with the SET TERMINAL /INQUIRE error -- the NOTSET and INVDEV signal -- that is likely arising here) is why most folks (including myself) are expecting that there are two separate and unrelated errors here.&lt;BR /&gt;&lt;BR /&gt;As others have indicated, find the failing image using f$verify(1) or SET VERIFY.  Then work with whomever supports the executable image.  This whether supported by HP or a third-party vendor, or somebody locally.  Or bring somebody in to look at the failing code if needed.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
      <pubDate>Tue, 18 Mar 2008 16:23:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163265#M43501</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-03-18T16:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163266#M43502</link>
      <description>My goodness. Hoff! You are great!!!. This much info within this error?&lt;BR /&gt;&lt;BR /&gt;Archie</description>
      <pubDate>Tue, 18 Mar 2008 18:00:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163266#M43502</guid>
      <dc:creator>Arch_Muthiah</dc:creator>
      <dc:date>2008-03-18T18:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163267#M43503</link>
      <description>My bad.  The address was FFFFFFFFFFFFFFC0 and not FFFFFFFFFFFFFFFF.  (Read that too fast and missed the wrap.)  if the application is written in C, it's probably a bad pointer somewhere.&lt;BR /&gt;&lt;BR /&gt;Anyway, fire up the debugger and have a look at the code.&lt;BR /&gt;&lt;BR /&gt;And if you rebuild the code, save the listings from the compiler (with machine code included), and save the full linker map(s).&lt;BR /&gt;&lt;BR /&gt;If you program on OpenVMS at all, you'll see the following signal fairly regularly:&lt;BR /&gt;&lt;BR /&gt;0000000000000005 : 5 (longword) args follow&lt;BR /&gt;000000000000000C : ACCVIO&lt;BR /&gt;0000000000000000 : attempted access bitmask&lt;BR /&gt;FFFFFFFFFFFFFFC0 : target address&lt;BR /&gt;FFFFFFFF8098A8E8 : failing instruction addr&lt;BR /&gt;000000000000001B : processor state&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2008 18:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163267#M43503</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-03-18T18:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163268#M43504</link>
      <description>Usually, the term script is a Unix term.  in the (Open)VMS world, we refer to files that end in .COM as command files.&lt;BR /&gt;&lt;BR /&gt;I know I'm repeating in a slightly different way as others have already replied, but ... Edit the file and then comment out the line:&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY")) &lt;BR /&gt;&lt;BR /&gt;by putting an ! point just after the $.  Add  line after the now commented line and put in:&lt;BR /&gt;$ set veify&lt;BR /&gt;&lt;BR /&gt;Then run the command file, and as the others have said, provide the output.  If you look at sys$manager:sylogin.com, you can see how it handles batch, interactive, and network modes.  You can use that as a pattern to prevent errors from commands that are intended to be run interactively when you are running a command file in batch.&lt;BR /&gt;&lt;BR /&gt;If you don't know how to compile and link with the debugger, let us know.  Also, what is the commmand file intended to do?</description>
      <pubDate>Wed, 19 Mar 2008 01:21:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163268#M43504</guid>
      <dc:creator>DECxchange</dc:creator>
      <dc:date>2008-03-19T01:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163269#M43505</link>
      <description>@ECxchange: thick fingers? hurry? :D&lt;BR /&gt;&lt;BR /&gt;[quote]&lt;BR /&gt;Edit the file and then comment out the line:&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY")) &lt;BR /&gt;&lt;BR /&gt;by putting an ! point just after the $.&lt;BR /&gt;[/quote]&lt;BR /&gt;&lt;BR /&gt;The first one in the line, that is ;)&lt;BR /&gt;&lt;BR /&gt;[quote]&lt;BR /&gt;Add line after the now commented line and put in:&lt;BR /&gt;$ set veify&lt;BR /&gt;[/quote]&lt;BR /&gt;&lt;BR /&gt;$ set verify &lt;BR /&gt;&lt;BR /&gt;Even better (if you are the only group member (don't do this when a lot of users or jobs in a group are active!)&lt;BR /&gt;&lt;BR /&gt;$ DEFINE /GROUP SYLOGIN_VERIFY 1&lt;BR /&gt;&lt;BR /&gt;that would have logged every line in SYLOGIN.COM as well (without changing the file - which is actually a good thing for a basic file!) so an illegal SET TERMINAL would have been noticed.&lt;BR /&gt;And it's easier to reverse:&lt;BR /&gt;&lt;BR /&gt;$ DEASSIGN /GROUP SYLOGIN_VERIFY&lt;BR /&gt;&lt;BR /&gt;Actually the first thing I would have done.&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Mar 2008 06:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163269#M43505</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2008-03-19T06:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163270#M43506</link>
      <description>RE: "Also, what is the commmand file intended to do?"&lt;BR /&gt;&lt;BR /&gt;My guess is that it is the system wide sylogin given:&lt;BR /&gt;&lt;BR /&gt;$ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;&lt;BR /&gt;If that's the case and you only want verification turned on for your specific username, you could put something like &lt;BR /&gt;&lt;BR /&gt;$ if f$edit(f$getjpi("","USERNAME"),"TRIM") .eqs. "LIM" then set verify&lt;BR /&gt;&lt;BR /&gt;immediately after the $ VERIFY = F$VERIFY(F$TRNLNM("SYLOGIN_VERIFY"))&lt;BR /&gt;&lt;BR /&gt;and then verification would always be on for the username "LIM" (change to whatever username you want to test with.)&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Wed, 19 Mar 2008 06:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163270#M43506</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-03-19T06:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163271#M43507</link>
      <description>Lim,&lt;BR /&gt;&lt;BR /&gt;If you follow Jon's idea, then where he wrote "LIM", use: TASADM&lt;BR /&gt;as that is the username that barfed in the original post.&lt;BR /&gt;&lt;BR /&gt;But I prefer Willem's approach.&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 19 Mar 2008 08:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163271#M43507</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-03-19T08:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163272#M43508</link>
      <description>I didn't see Willem's until after I posted my response.  I agree that if TASADM is in a limited UIC group, his suggestion is better.&lt;BR /&gt;&lt;BR /&gt;Or to make it dynamic for a single user&lt;BR /&gt;&lt;BR /&gt;$ if f$edit(f$getjpi("","USERNAME"),"TRIM") .eqs. "''F$TRNLNM("SYLOGIN_VERIFY_USER")'" then set verify&lt;BR /&gt;&lt;BR /&gt;Then to turn on verification for user TASADM&lt;BR /&gt;&lt;BR /&gt;$ define/system SYLOGIN_VERIFY_USER TASADM&lt;BR /&gt;&lt;BR /&gt;To turn off&lt;BR /&gt;&lt;BR /&gt;$ deassign/system SYLOGIN_VERIFY_USER&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Wed, 19 Mar 2008 08:28:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163272#M43508</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-03-19T08:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163273#M43509</link>
      <description>I didn't think you could simply comment out the f$verify function in DCL.  I thought that was one of the only lexical functions that still gets executed even if the DCL line is commented out.  Is that not the case?</description>
      <pubDate>Wed, 19 Mar 2008 18:23:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163273#M43509</guid>
      <dc:creator>Phillip Thayer</dc:creator>
      <dc:date>2008-03-19T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: device Access violation</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163274#M43510</link>
      <description>@ Phillip:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;I thought that was one of the only lexical functions that still gets executed even if the DCL line is commented out. Is that not the case?&lt;BR /&gt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Well, partly correct!.&lt;BR /&gt;&lt;BR /&gt;Compare&lt;BR /&gt;&lt;BR /&gt;$ ! F$verify(x)&lt;BR /&gt;and&lt;BR /&gt;$ ! 'F$verify(x)&lt;BR /&gt;&lt;BR /&gt;The only difference is the apostrophe right before F$, and the difference it makes is that the first is NOT, and the latter IS getting executed.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe</description>
      <pubDate>Wed, 19 Mar 2008 19:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/device-access-violation/m-p/4163274#M43510</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-03-19T19:07:32Z</dc:date>
    </item>
  </channel>
</rss>

