<?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: OpenVMS - Small EVE program to run in BATCH in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617814#M39818</link>
    <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;Please explain the exact text transformation you want to do. &lt;BR /&gt;There may be better (more robust) algoritms or tools. May we assume that the 777 is just a sufficiently large number to cover the whole file?&lt;BR /&gt;In fact you may want to explain 'the next step' to see if we can offer even better advice.&lt;BR /&gt;As in... what do exactly do you want to do, and why?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Apr 2010 01:12:00 GMT</pubDate>
    <dc:creator>Hein van den Heuvel</dc:creator>
    <dc:date>2010-04-15T01:12:00Z</dc:date>
    <item>
      <title>OpenVMS - Small EVE program to run in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617812#M39816</link>
      <description>&lt;!--!*#--&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I haven't been sucsesfull in running the following EVE (EDIT/TPU) lines in BATCH.&lt;BR /&gt;&lt;BR /&gt;I need to generate a small procedure to constanly perform such line because I almost&lt;BR /&gt;doing it INTERACTIVE on a daily basis.&lt;BR /&gt;&lt;BR /&gt;See Attachment ...&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;The main issue is that besides doing it daily it need to be done over 750 times.&lt;BR /&gt;&lt;BR /&gt;Please, I only need the EVE lines (or EDT if possible)</description>
      <pubDate>Wed, 14 Apr 2010 19:53:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617812#M39816</guid>
      <dc:creator>Edmundo T Rodriguez</dc:creator>
      <dc:date>2010-04-14T19:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS - Small EVE program to run in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617813#M39817</link>
      <description>It would take me a while to figure out what TPU to write to do this, but in EDT, it is quite short:&lt;BR /&gt;&lt;BR /&gt;c;777(""pastevbl)ex&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;Insert your search string in the "".  Preloading your paste buffer is left as an exercise.&lt;BR /&gt;&lt;BR /&gt;Put this in a file and then&lt;BR /&gt;&lt;BR /&gt;$ EDIT/EDT targetfile/COMMAND=commandfile&lt;BR /&gt;&lt;BR /&gt;Figuring out how to do it in batch is left as an exercise.</description>
      <pubDate>Wed, 14 Apr 2010 21:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617813#M39817</guid>
      <dc:creator>RBrown_1</dc:creator>
      <dc:date>2010-04-14T21:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS - Small EVE program to run in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617814#M39818</link>
      <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;Please explain the exact text transformation you want to do. &lt;BR /&gt;There may be better (more robust) algoritms or tools. May we assume that the 777 is just a sufficiently large number to cover the whole file?&lt;BR /&gt;In fact you may want to explain 'the next step' to see if we can offer even better advice.&lt;BR /&gt;As in... what do exactly do you want to do, and why?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Hein&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 01:12:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617814#M39818</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2010-04-15T01:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS - Small EVE program to run in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617815#M39819</link>
      <description>Edumundo, simple EVE/TPU work in batch is cake.  We used this as part of the core of an application based on mail to receive a list of files, extract the various parts of the email message into discrete files and then automatically generate the outbound email message with the resulting data.  There's only one problem...  It'll be tomorrow before I can get to my examples/code that are in a BACKUP saveset.&lt;BR /&gt;&lt;BR /&gt;EVE/TPU is easier because you can TELL it you have no terminal and do simple manipulation in batch.  EDT can be a real pain when you try to trick it into working in batch.  The key here is your work in TPU has to be pretty simple, search for this string, select that, cut, insert, etc.&lt;BR /&gt;&lt;BR /&gt;bob</description>
      <pubDate>Thu, 15 Apr 2010 02:57:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617815#M39819</guid>
      <dc:creator>Bob Blunt</dc:creator>
      <dc:date>2010-04-15T02:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS - Small EVE program to run in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617816#M39820</link>
      <description>Have a look at the attached file which runs with this command in a DCL batch file :-&lt;BR /&gt;&lt;BR /&gt;$       DEFINE /USER SYS$INPUT SYS$COMMAND&lt;BR /&gt;$       EDIT /TPU /NOINIT /NODISPLAY /SEC=SYS$LIBRARY:SYS$TPUSECTION.TPU$SECTION -&lt;BR /&gt;                        /COMMAND=SY0:[LIVE.TXT]AMEND_HEADER_TPU.TXT SYS$TEMP:'SHORT'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rob.</description>
      <pubDate>Thu, 15 Apr 2010 08:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617816#M39820</guid>
      <dc:creator>Robert Atkinson</dc:creator>
      <dc:date>2010-04-15T08:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS - Small EVE program to run in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617817#M39821</link>
      <description>Edmundo,&lt;BR /&gt;&lt;BR /&gt;A note on step 5, move to start of line - if it happens that the cursor is already at the start of the line, this will cause an error and abort the repeat sequence. When I make a macro like this I move the cursor one character to the right before entering Ctrl+H.&lt;BR /&gt;&lt;BR /&gt;I also prefer to do the first Find manually (that is, before Learn), and put the Find for the next string at the end of the macro as a repeat (Find Find). This allows me to use the macro for different search strings, and when running it interactively, view the text it's about to operate on. The downside of course is I can't always see what it just did.&lt;BR /&gt;&lt;BR /&gt;You may want to save this macro in your TPU section file so you don't have to re-Learn it each time.</description>
      <pubDate>Thu, 15 Apr 2010 12:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617817#M39821</guid>
      <dc:creator>Kelly Stewart_1</dc:creator>
      <dc:date>2010-04-15T12:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: OpenVMS - Small EVE program to run in BATCH</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617818#M39822</link>
      <description>&lt;!--!*#--&gt;Sorry for the delay, Edmundo.  Here's an example that takes an output file from VMSmail, searches for "subj:" and saves the sender and receiver's email address into a separate file.  ITRC will only allow one attachment so the command I use in a command procedure submitted to batch is attached (named .txt to keep winders happy) and the TPU script is listed below.  In the command procedure I call the TPU script save_tofrom.tpu:&lt;BR /&gt;&lt;BR /&gt;set cursor bound&lt;BR /&gt;set noexit attribute check&lt;BR /&gt;find subj:&lt;BR /&gt;start of line&lt;BR /&gt;select&lt;BR /&gt;bottom&lt;BR /&gt;remove&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;It's just a simple example.  Check TPU documentation for other commands you can use and their structure.</description>
      <pubDate>Fri, 16 Apr 2010 22:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/openvms-small-eve-program-to-run-in-batch/m-p/4617818#M39822</guid>
      <dc:creator>Bob Blunt</dc:creator>
      <dc:date>2010-04-16T22:10:22Z</dc:date>
    </item>
  </channel>
</rss>

