<?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: Batch process going straight to error label with no error message in the logfile in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5636795#M102737</link>
    <description>&lt;P&gt;With&amp;nbsp;2097,152 pages (pagelets) per gigabyte of physical memory, and with the far later virtual address space available with backing storage on hundeds of gigabytes to terabyte-scale disk storage arrays, you have some room to increase these values substantially. &amp;nbsp;Five or ten-fold would likely have no impact on the system, unless you're right on the edge of some (other) limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;But for the sake of discussion, start by doubling the values in MODPARAMS.DAT file and AUTOGEN (with FEEDBACK) and try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See HELP /MESSAGE /FACILITY=RMS DME for related details, if you've not already reviewed that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given the logical names that are referenced in this DCL, this environment could involve some ancient RSX-11 code that's been ported across, and the norms from the vintage of RSX-11 code can introduce various constraints on the environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do enable DCL procedure verification and see exactly where the "jump" happened from the in-line code to the error handling. &amp;nbsp;That might tell you more about what was happening when this DCL face-planted. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do go looking for channel leaks, too; that's one of the potential triggers for DME errors.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Apr 2012 18:28:12 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2012-04-26T18:28:12Z</dc:date>
    <item>
      <title>Batch process going straight to error label with no error message in the logfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5636681#M102736</link>
      <description>&lt;P&gt;We are running OpenVMS 8.3-1h1 V10&amp;nbsp;on a RX2660 connected to an EVA4400 disk storage unit.&lt;/P&gt;&lt;P&gt;Two batch processes have started to fail, going to the&amp;nbsp;on error label without displaying the error it generated.&lt;/P&gt;&lt;P&gt;After adding a Write Sys$output $Status after the error label, the status came back as follows.&lt;/P&gt;&lt;P&gt;$ WRITE SYS$OUTPUT "SY1:[ITPS.DAT]VDO1COL.WRK;1"&lt;/P&gt;&lt;P&gt;SY1:[ITPS.DAT]VDO1COL.WRK;1&lt;/P&gt;&lt;P&gt;$ IF MULTI_WORK .EQS. "" THEN GOTO DAYMULTIWRK_END&lt;/P&gt;&lt;P&gt;$ EOF = F$FILE_ATTRIBUTES(MULTI_WORK,"EOF")&lt;/P&gt;&lt;P&gt;$&lt;STRONG&gt;FATAL:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;$write sys$output $STATUS&lt;/P&gt;&lt;P&gt;%X100184D4&lt;/P&gt;&lt;P&gt;This is the DME error.&lt;/P&gt;&lt;P&gt;The only changes which would affect these procedures are added logicals to the process and group tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After reading some other threads, it looks like I will need to increase the PIOPAGES and CTLPAGES system parameters via MODPARAMS.DAT, but can anyone advise&amp;nbsp;how much I can safely&amp;nbsp;increase them by.&lt;/P&gt;&lt;P&gt;Current settings below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parameter&amp;nbsp;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Current&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Default&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Minimum&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Maximum&amp;nbsp;Unit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Dynamic&lt;/P&gt;&lt;P&gt;--------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;-------&lt;/P&gt;&lt;P&gt;PIOPAGES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 975&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;975&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 410&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1&amp;nbsp;Pagelets&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;D&lt;/P&gt;&lt;P&gt;CTLPAGES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1056&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1056&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 64&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1 Pagelets&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I don't use the SET RMS in any logins, so I am not sure whether&amp;nbsp;any&amp;nbsp;RMS_DEFAULT settings should also be modified.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only non-zero&amp;nbsp;values are&lt;/P&gt;&lt;P&gt;32 for system multi-block count&lt;/P&gt;&lt;P&gt;8 for system Network-block count.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 16:36:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5636681#M102736</guid>
      <dc:creator>Maddog1</dc:creator>
      <dc:date>2012-04-26T16:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Batch process going straight to error label with no error message in the logfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5636795#M102737</link>
      <description>&lt;P&gt;With&amp;nbsp;2097,152 pages (pagelets) per gigabyte of physical memory, and with the far later virtual address space available with backing storage on hundeds of gigabytes to terabyte-scale disk storage arrays, you have some room to increase these values substantially. &amp;nbsp;Five or ten-fold would likely have no impact on the system, unless you're right on the edge of some (other) limit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;But for the sake of discussion, start by doubling the values in MODPARAMS.DAT file and AUTOGEN (with FEEDBACK) and try again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See HELP /MESSAGE /FACILITY=RMS DME for related details, if you've not already reviewed that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Given the logical names that are referenced in this DCL, this environment could involve some ancient RSX-11 code that's been ported across, and the norms from the vintage of RSX-11 code can introduce various constraints on the environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do enable DCL procedure verification and see exactly where the "jump" happened from the in-line code to the error handling. &amp;nbsp;That might tell you more about what was happening when this DCL face-planted. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do go looking for channel leaks, too; that's one of the potential triggers for DME errors.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 18:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5636795#M102737</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2012-04-26T18:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Batch process going straight to error label with no error message in the logfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5637037#M102738</link>
      <description>&lt;P&gt;Looks like it's the F$FILE_ATTRIBUTES that's breaking, so the most likely cause is running out of PPF channels - that is, too many OPENs with different file logical names. Here's a simple reproducer that generates your symptom:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ c=1
$ self=F$PARSE(";",F$ENVIRONMENT("PROCEDURE"))
$ ON WARNING THEN GOTO Error
$ loop:
$   SHOW SYM c
$   OPEN/READ f'c' 'self'
$   WRITE SYS$OUTPUT "F''c' = ",F$LOGICAL("f''c'")
$   c=c+1
$   WRITE SYS$OUTPUT F$FILE("SYS$LOGIN:LOGIN.COM","EOF")
$ GOTO loop
$ Error: WRITE SYS$OUTPUT $STATUS
$ SHOW LOG/PROCESS&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and here's the last few lines of the run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ loop:
$   SHOW SYM c
  C = 58   Hex = 0000003A  Octal = 00000000072
$   OPEN/READ f58 USERS:[JG]BREAKDME.COM;
$   WRITE SYS$OUTPUT "F58 = ",F$LOGICAL("f58")
F58 = __DSA30
$   c=c+1
$   WRITE SYS$OUTPUT F$FILE("SYS$LOGIN:LOGIN.COM","EOF")
1
$ GOTO loop
$ loop:
$   SHOW SYM c
  C = 59   Hex = 0000003B  Octal = 00000000073
$   OPEN/READ f59 USERS:[JG]BREAKDME.COM;
$   WRITE SYS$OUTPUT "F59 = ",F$LOGICAL("f59")
F59 = __DSA30
$   c=c+1
$   WRITE SYS$OUTPUT F$FILE("SYS$LOGIN:LOGIN.COM","EOF")
1
$ GOTO loop
$ loop:
$   SHOW SYM c
  C = 60   Hex = 0000003C  Octal = 00000000074
$   OPEN/READ f60 USERS:[JG]BREAKDME.COM;
$   WRITE SYS$OUTPUT "F60 = ",F$LOGICAL("f60")
F60 = __DSA30
$   c=c+1
$   WRITE SYS$OUTPUT F$FILE("SYS$LOGIN:LOGIN.COM","EOF")
$ Error: WRITE SYS$OUTPUT $STATUS
%X000184D4
$ SHOW LOG/PROCESS&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice that the SHOW LOG/PROCESS doesn't work. I was running this interactively, so I can execute a SHOW LOG/PROCESSS after the run (since the command procedure has been closed, I've freed up a channel to which the output can be written). It shows the open PPF channels:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;JG&amp;gt; show log/proc

(LNM$PROCESS_TABLE)

  "F1" = "_DSA30"
  "F10" = "_DSA30"
  "F11" = "_DSA30"
  "F12" = "_DSA30"
  "F13" = "_DSA30"
  "F14" = "_DSA30"
  "F15" = "_DSA30"
  "F16" = "_DSA30"
  "F17" = "_DSA30"
  "F18" = "_DSA30"
  "F19" = "_DSA30"
  "F2" = "_DSA30"
  "F20" = "_DSA30"
  "F21" = "_DSA30"
  "F22" = "_DSA30"
  "F23" = "_DSA30"
  "F24" = "_DSA30"
  "F25" = "_DSA30"
  "F26" = "_DSA30"
  "F27" = "_DSA30"
  "F28" = "_DSA30"
  "F29" = "_DSA30"
  "F3" = "_DSA30"
  "F30" = "_DSA30"
  "F31" = "_DSA30"
  "F32" = "_DSA30"
  "F33" = "_DSA30"
  "F34" = "_DSA30"
  "F35" = "_DSA30"
  "F36" = "_DSA30"
  "F37" = "_DSA30"
  "F38" = "_DSA30"
  "F39" = "_DSA30"
  "F4" = "_DSA30"
  "F40" = "_DSA30"
  "F41" = "_DSA30"
  "F42" = "_DSA30"
  "F43" = "_DSA30"
  "F44" = "_DSA30"
  "F45" = "_DSA30"
  "F46" = "_DSA30"
  "F47" = "_DSA30"
  "F48" = "_DSA30"
  "F49" = "_DSA30"
  "F5" = "_DSA30"
  "F50" = "_DSA30"
  "F51" = "_DSA30"
  "F52" = "_DSA30"
  "F53" = "_DSA30"
  "F54" = "_DSA30"
  "F55" = "_DSA30"
  "F56" = "_DSA30"
  "F57" = "_DSA30"
  "F58" = "_DSA30"
  "F59" = "_DSA30"
  "F6" = "_DSA30"
  "F60" = "_DSA30"
  "F7" = "_DSA30"
  "F8" = "_DSA30"
  "F9" = "_DSA30"
  "SYS$COMMAND" = "_FTA2:"
  "SYS$DISK" = "DISK_USER:"
  "SYS$ERROR" = "_FTA2:"
  "SYS$INPUT" = "_FTA2:"
  "SYS$OUTPUT" [super] = "_FTA2:"
  "SYS$OUTPUT" [exec] = "_FTA2:"
  "TT" = "_FTA2:"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since you're in a batch job, you can't do that. However, you CAN jacket&amp;nbsp;your procedure&amp;nbsp;to get a similar effect. Instead of submitting your suspect procedure,&amp;nbsp;submit one like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$ ON WARNING THEN CONTINUE
$ @&amp;lt;yoursuspect&amp;gt; "''p1'" "''p2'" "''p3'" "''p4'" "''p5'" "''p6'" "''p7'" "''p8'"
$ SHOW SYM $STATUS
$ SHOW LOGICAL/PROCESS
$ EXIT&lt;/PRE&gt;&lt;P&gt;This should&amp;nbsp;write the logical names of the open files to the log file, and hopefully point you in the right direction to solve the problem. If that doesn't work,&amp;nbsp;scatter some SHOW LOGICAL/PROCESS commands throughout the procedure and watch for leaks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that messing with quotas is unlikely to help. Although&amp;nbsp;PPF files are constrained by quotas,&amp;nbsp;I seem to recall there's also a hardcoded magic number (64?) independent of quotas.&amp;nbsp;&amp;nbsp;You're most likely hitting the solid wall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to experiment with my procedure above, I recommend you execute it in a SPAWNed subprocess, since hitting a DME wall typically "poisons" a process. Recovery isn't necessarily achieved by just closing the files. It's easier to LOGOUT and start a new process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Apr 2012 22:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5637037#M102738</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2012-04-26T22:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Batch process going straight to error label with no error message in the logfile</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5665217#M102739</link>
      <description>&lt;P&gt;I increased the PIOPAGES by 10% and the error has not re-occurred.&lt;/P&gt;&lt;P&gt;This has been added to MODPARAMS.DAT&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2012 11:17:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-process-going-straight-to-error-label-with-no-error/m-p/5665217#M102739</guid>
      <dc:creator>Maddog1</dc:creator>
      <dc:date>2012-05-22T11:17:35Z</dc:date>
    </item>
  </channel>
</rss>

