<?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 Job Prompts - Novice Question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146157#M14169</link>
    <description>Also check some of the *.TEMPLATE files, as that's where I'd tweaked some of the DCL structures.  (The *.COM files carry over when upgrading; they're not modified.)  sys$startup:sylogin.template uses "$ Goto MODE_'F$MODE()", which is a slightly different way to deal with this processing than the "$ if $mode() .eqs. f$edit("interactive", "upcase")" chuckle.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 16 Feb 2008 22:55:43 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2008-02-16T22:55:43Z</dc:date>
    <item>
      <title>Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146148#M14160</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;When submitting a batch job that includes a call to another DCL routine that needs operator responses (i.e. Y or N to proceed)the batch job hangs as it doedn't recognise the input I have built into the routine.&lt;BR /&gt;&lt;BR /&gt;I know that there is a command that will let me do this but I cannot find it anywhere in help or my user guide. &lt;BR /&gt;&lt;BR /&gt;Thanks and apologies for asking 'eediot' questions.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 12:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146148#M14160</guid>
      <dc:creator>Tony Marron</dc:creator>
      <dc:date>2008-02-16T12:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146149#M14161</link>
      <description>Batch jobs do not generally prompt for input, they often collect the required information as part of the initial processing (some DCL runs, collects the requisite data, and passes it in via /PARAMETER or via file, and then issues the SUBMIT), but you can choose to use the REQUEST /REPLY command to gain (limited) input from system operators.&lt;BR /&gt;&lt;BR /&gt;A system operator (REPLY /ENABLE, et al) can then use REPLY /TO=n to complete the prompt operation (or REPLY /ABORT), where n is the number of the request that was generated by REQUEST /REPLY&lt;BR /&gt;&lt;BR /&gt;The underlying sys$sndopr system service mechanism has additional features (it can get a string back from the operator; see what BACKUP does in this area by using that), but these strings have not been propagated up to DCL and passed back via symbol AFAIK.  (A little compiled code could make your own REQUEST /REPLY image using sys$sndopr and lib$set_symbol; that wouldn't be more than an hour of coding and testing time at the outside.)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 14:51:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146149#M14161</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-02-16T14:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146150#M14162</link>
      <description>Hello Tony,&lt;BR /&gt;&lt;BR /&gt;The answer depends a little on the method used to trigger the response and whether you want a live response or not.&lt;BR /&gt;&lt;BR /&gt;Hoff addressed the case of a real answer being needed.&lt;BR /&gt;&lt;BR /&gt;I suspect you are dealing with a simple setup where a fixed "yes" is all that is needed. For that you might just be able to follow the call to nested procure by a data line. You might need to diddle th logical names for SYS$INPUT. &lt;BR /&gt;Here is something silly which works for me...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ create outer_test.com&lt;BR /&gt;$ @inner_test.com&lt;BR /&gt;yessirreee&lt;BR /&gt;$ exit&lt;BR /&gt;^Z&lt;BR /&gt;$ create inner_test.com&lt;BR /&gt;$ inquire answer "Yes or no"&lt;BR /&gt;$ write sys$output "The answer was: ", answer&lt;BR /&gt;$exit&lt;BR /&gt;^Z&lt;BR /&gt;$ subm outer_test.com&lt;BR /&gt;Job OUTER_TEST (queue SYS$BATCH, entry 71) started on SYS$BATCH&lt;BR /&gt;$ typ outer_test.log&lt;BR /&gt;&lt;BR /&gt;The answer was: YESSIRREEE&lt;BR /&gt;  HEIN         job terminated at 16-FEB-2008 10:29:04.37&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 16:33:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146150#M14162</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-16T16:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146151#M14163</link>
      <description>Tony,&lt;BR /&gt;&lt;BR /&gt;Hoff and Hein have answered different questions. From my perspective, on re-reading your posting, I am not sure which reflects your situation.&lt;BR /&gt;&lt;BR /&gt;If you are asking for the operator to intervene, as in "Please mount the correct tape", then Hoff 's answer is correct.&lt;BR /&gt;&lt;BR /&gt;If you are trying to get a series of inputs from the command file, I agree with Hein, except that my preference is to generate a temporary data file during an interactive setup script, and then pass the name of the file as one of the parameters on the SUBMIT command (e.g., SUBMIT/PARAM=("&lt;NAMEOFTHEFILE&gt;") &lt;COMMANDFILENAME&gt;).&lt;BR /&gt;&lt;BR /&gt;Then, I can simply OPEN/READ on the temporary file and use READ statements to process it.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;&lt;/COMMANDFILENAME&gt;&lt;/NAMEOFTHEFILE&gt;</description>
      <pubDate>Sat, 16 Feb 2008 16:39:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146151#M14163</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2008-02-16T16:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146152#M14164</link>
      <description>Clarifying my earlier reply, the two paths are via File or via SUBMIT /PARAMETER from a "wrapping" procedure that starts this off.&lt;BR /&gt;&lt;BR /&gt;Or via OPCOM and a system operator:&lt;BR /&gt;&lt;BR /&gt;REQUEST /REPLY "Do you want to play a game?"&lt;BR /&gt;&lt;BR /&gt;and then a REPLY /TO or a REPLY /ABORT from an operator.&lt;BR /&gt;&lt;BR /&gt;The other option is via shared logical name, or via some procedure or tool that creates a file after the fact, and for which the procedure polls, and waits for.   Or you could submit the second-level job or task into a hibernation state or into a process suspension, and then release it, or delete it.&lt;BR /&gt;&lt;BR /&gt;Based on the "should I proceed?" interpretation, the REQUEST is probably the easiest path forward.&lt;BR /&gt;&lt;BR /&gt;If you choose the REQUEST /REPLY path, do ensure you test for the case when no operator is enabled when you issue the REQUEST /REPLY, as you'll get a status back from that indicating no operators are around.  (The continue and the abort also return $STATUS values here.)  This no-operators case is a common failure, but it's one that's not necessarily immediately obvious; it's a case that might not show up in basic testing.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 19:27:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146152#M14164</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-02-16T19:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146153#M14165</link>
      <description>If the batch mode response and action you want is constant, you could make the prompt conditional in the "called" DCL routine" using the f$mode lexical.&lt;BR /&gt;&lt;BR /&gt;Look at how f$mode is used in some of the .com files in sys$startup:&lt;BR /&gt;&lt;BR /&gt;$ search sys$startup:*.com f$mode&lt;BR /&gt;&lt;BR /&gt;If the response is variable, then Hoff, Hein and Robert have given you some great answers.&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 20:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146153#M14165</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2008-02-16T20:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146154#M14166</link>
      <description>&lt;!--!*#--&gt;Sorry, I just couldn't resist posting this as an example of how to unix-ify a simple DCL command, from TCPIP$STARTUP.COM&lt;BR /&gt;&lt;BR /&gt;$ if $mode().eqs.$edit("interactive","upcase")&lt;BR /&gt;&lt;BR /&gt;or am I the only one who thinks that's funny?&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 20:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146154#M14166</guid>
      <dc:creator>Doug Phillips</dc:creator>
      <dc:date>2008-02-16T20:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146155#M14167</link>
      <description>Tony,&lt;BR /&gt;&lt;BR /&gt;Can you show us what you are doing and what isn't working?  I.e. can you create a simple reproducer?  Otherwise we are just guessing what you mean by "operator responses" and how those operator responses are being accepted.&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Sat, 16 Feb 2008 20:54:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146155#M14167</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2008-02-16T20:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146156#M14168</link>
      <description>Doug,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; $ if $mode().eqs.$edit("interactive","upcase")&lt;BR /&gt;&amp;gt;&amp;gt; or am I the only one who thinks that's funny?&lt;BR /&gt;&lt;BR /&gt;Good catch! Made me smile. Totally sick.&lt;BR /&gt;The other way around would only be silly:&lt;BR /&gt;&lt;BR /&gt;$ if "INTERACTIVE".eqs.f$edit(f$mode(),"upcase")&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Tony, &lt;BR /&gt;&lt;BR /&gt;Do you have control over the called routine? Can you change it? If you can, then indeed it would be better to teach it how not to ask instead of learning how to answer.&lt;BR /&gt;Tools for that would eb the F$MODE() suggested, and testing for the existing of a (global) application symbol or logical: &lt;BR /&gt;$ IF "".eqs.F$TYPE(your_globlal)&lt;BR /&gt;$ THEN ... use it&lt;BR /&gt;$ ELSE ... INQUIRE (or better: READ/PROMPT)&lt;BR /&gt;Replace F$TYPE by F$TRNLNM for logicals.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 21:15:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146156#M14168</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-16T21:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146157#M14169</link>
      <description>Also check some of the *.TEMPLATE files, as that's where I'd tweaked some of the DCL structures.  (The *.COM files carry over when upgrading; they're not modified.)  sys$startup:sylogin.template uses "$ Goto MODE_'F$MODE()", which is a slightly different way to deal with this processing than the "$ if $mode() .eqs. f$edit("interactive", "upcase")" chuckle.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Feb 2008 22:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146157#M14169</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-02-16T22:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146158#M14170</link>
      <description>Hi Folks,&lt;BR /&gt;&lt;BR /&gt;Thanks for all the responses - I got a lot more knowledge out of that......&lt;BR /&gt;&lt;BR /&gt;Here is an example of the code from a batch job that call a DCL 'MM$LOAD:LOAD' routine that requires responses. I have commented out the prompts from the script :-&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ @mm$load:load&lt;BR /&gt;$! SCHEMA?&lt;BR /&gt;mandb&lt;BR /&gt;$! VERSION (Vn.n)?&lt;BR /&gt;11.4&lt;BR /&gt;$! AREA?&lt;BR /&gt;0&lt;BR /&gt;$!  DATABASE DEVICE AND DIRECTORY? &lt;BR /&gt;dra2:[manman.mandb100]&lt;BR /&gt;$!  FILENAME TO LOAD FROM?&lt;BR /&gt;mm$load:man0x0unl.dat &lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;Hope that helps clarify what we are trying to do - I'll try a few of the suggestions now.&lt;BR /&gt;&lt;BR /&gt;Tony.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Feb 2008 12:36:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146158#M14170</guid>
      <dc:creator>Tony Marron</dc:creator>
      <dc:date>2008-02-18T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146159#M14171</link>
      <description>&lt;BR /&gt;    Looking at this, my first inclination would be to modify the batch job to be;&lt;BR /&gt;&lt;BR /&gt;$ @mm$load:load&lt;BR /&gt;mandb&lt;BR /&gt;11.4&lt;BR /&gt;0&lt;BR /&gt;dra2:[manman.mandb100]&lt;BR /&gt;mm$load:man0x0unl.dat &lt;BR /&gt;$!&lt;BR /&gt;&lt;BR /&gt;   Tell me that you tried this!&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;&lt;BR /&gt;(and for that matter, any other options you tried)</description>
      <pubDate>Mon, 18 Feb 2008 13:37:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146159#M14171</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2008-02-18T13:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146160#M14172</link>
      <description>Tony,&lt;BR /&gt;&lt;BR /&gt;$ SUBMIT mm$load:load -&lt;BR /&gt;/Params=("mandb","11.4","0","dra2:[manman.mandb100]","mm$load:man0x0unl.dat")&lt;BR /&gt;&lt;BR /&gt;... and modify LOAD.COM such, that if P1 through P5 are ,nes, "", then do NOT ask that question, but inset the valu.&lt;BR /&gt;&lt;BR /&gt;PS. As an aside: you abstracted mm$load to be wherever the logical name points.&lt;BR /&gt;_DO_ put in the effort to do similar for [manman.mandb100].&lt;BR /&gt;&lt;BR /&gt;If you EVER upgrade you disk subsystem (or move to another computer), changing a few LNMs is SOOOO much easier and leass error-prone than finding and replacing EVERY disk reference!&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 &lt;BR /&gt;</description>
      <pubDate>Mon, 18 Feb 2008 14:00:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146160#M14172</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2008-02-18T14:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Job Prompts - Novice Question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146161#M14173</link>
      <description>Tony, &lt;BR /&gt;&lt;BR /&gt;You still did not tell us how MM$LOAD.COM obtains the input. &lt;BR /&gt;READ or INQUIRE?&lt;BR /&gt;SYS$INPUT or SYS$COMMAND?&lt;BR /&gt;&lt;BR /&gt;The solution I mentioned earlier, and which was essentially repeated by the Brit, works in batch but does not work both interactively as well as in batch.&lt;BR /&gt;&lt;BR /&gt;Maybe I'm having a bad day and overlooking something simple but it is actually tricky to feed an inner command file data provided by the outter.... interactively.&lt;BR /&gt;&lt;BR /&gt;The thing is that normally a such inner script would read the data from the command file itself, not from 'one level up'.&lt;BR /&gt;&lt;BR /&gt;I ended up needing a pipe to do this interactively&lt;BR /&gt;------ test.com ----&lt;BR /&gt;$create tmp.tmp&lt;BR /&gt;yessirreee&lt;BR /&gt;aap&lt;BR /&gt;noot&lt;BR /&gt;mies&lt;BR /&gt;teun&lt;BR /&gt;$!does not work: $ pipe @inner &amp;lt; tmp.tmp&lt;BR /&gt;$!works&lt;BR /&gt;$pipe type tmp.tmp | @inner&lt;BR /&gt;$delete tmp.tmp.*&lt;BR /&gt;$ exit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$! ------ inner.com --------&lt;BR /&gt;$ show logical sys$input&lt;BR /&gt;$ show logical sys$command&lt;BR /&gt;$ old = ""&lt;BR /&gt;$loop:&lt;BR /&gt;$ inquire answer "answers"&lt;BR /&gt;$ ! yikes&lt;BR /&gt;$ write sys$output "The answer was: ", answer&lt;BR /&gt;$ if answer.eqs.old then exit 40&lt;BR /&gt;$ old = answer&lt;BR /&gt;$ goto loop&lt;BR /&gt;$done:&lt;BR /&gt;$exit '$status&lt;BR /&gt;&lt;BR /&gt;$ type   outer_pipe.log&lt;BR /&gt;:&lt;BR /&gt;   "SYS$INPUT" = "_EISNER$DRA3:" (LNM$PROCESS_TABLE)&lt;BR /&gt;   "SYS$COMMAND" = "_EISNER$MPA682:" (LNM$PROCESS_TABLE)&lt;BR /&gt;The answer was: YESSIRREEE&lt;BR /&gt;The answer was: AAP&lt;BR /&gt;The answer was: NOOT&lt;BR /&gt;The answer was: MIES&lt;BR /&gt;The answer was: TEUN&lt;BR /&gt;The answer was:&lt;BR /&gt;The answer was:&lt;BR /&gt;%SYSTEM-W-ABORT, abort&lt;BR /&gt;  HEIN         job terminated at 18-FEB-2008 14:16:58.80&lt;BR /&gt;&lt;BR /&gt;This will work fine for an exact match of input data lines and inquiry commands, but here in the loop it shows something I find odd. At the end of the data, there is no EOF raised, just a blank lined returned.&lt;BR /&gt;This seems broken to me (Alpha 8.3).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the reason I asked for the exact input method. If I make a seemingly trivial change in the inner.com from "inquery" to "read/prompt sys$input" and try we get:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$! ---- inner.com with read instead of inquire ----&lt;BR /&gt;$ show logical sys$input&lt;BR /&gt;$ show logical sys$command&lt;BR /&gt;$ old = ""&lt;BR /&gt;$loop:&lt;BR /&gt;$ read sys$input /prompt="answers" answer&lt;BR /&gt;$ ! yikes&lt;BR /&gt;$ write sys$output "The answer was: ", answer&lt;BR /&gt;$ if answer.eqs.old then exit 40&lt;BR /&gt;$ old = answer&lt;BR /&gt;$ goto loop&lt;BR /&gt;$done:&lt;BR /&gt;$exit '$status&lt;BR /&gt;&lt;BR /&gt;$ typ outer.log&lt;BR /&gt;:&lt;BR /&gt;   "SYS$INPUT" = "_EISNER$DRA3:" (LNM$PROCESS_TABLE)&lt;BR /&gt;   "SYS$COMMAND" = "_EISNER$DRA3:" (LNM$PROCESS_TABLE)&lt;BR /&gt;The answer was: $ ! yikes&lt;BR /&gt;The answer was: $ ! yikes&lt;BR /&gt;%SYSTEM-W-ABORT, abort&lt;BR /&gt;&lt;BR /&gt;Now change the sys$input to sys$command, and the result becomes:&lt;BR /&gt;&lt;BR /&gt;The answer was: mies&lt;BR /&gt;The answer was: teun&lt;BR /&gt;The answer was: $exit&lt;BR /&gt;%RMS-E-EOF, end of file detected&lt;BR /&gt;&lt;BR /&gt;So I got the data, and I got the EOF, but I also got a line starting with $. We (me!) would hope that any $ line would terminate the data lines (unless $DECK/DOLLARS is in effect.)&lt;BR /&gt;&lt;BR /&gt;Hope this did not confuse too much!&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Feb 2008 20:39:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/batch-job-prompts-novice-question/m-p/4146161#M14173</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2008-02-18T20:39:50Z</dc:date>
    </item>
  </channel>
</rss>

