<?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: Edit/TPU question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586014#M6644</link>
    <description>I am a bit rusty on TPU programming, so I would use a learn sequence. Trying without a keypad, but cursor keys (else, use the 'move down' command):&lt;BR /&gt;$ edit/tpu file&lt;BR /&gt;&lt;CONTROL-B&gt;&lt;CONTROL-U&gt;learn&lt;RETURN&gt;&lt;BR /&gt;&lt;CONTROL-V&gt;&lt;CONTROL-M&gt;&lt;CONTROL-H&gt;&lt;CURSOR-DOWN&gt;&lt;BR /&gt;&lt;CONTROL-R&gt;&lt;CONTROL-L&gt;&lt;BR /&gt;&lt;CONTROL-B&gt;&lt;CONTROL-U&gt;what&lt;RETURN&gt;&lt;BR /&gt;&lt;BR /&gt;this tells the number of lines as I have forgotten them since when I invoked the editor ;-)&lt;BR /&gt;&lt;BR /&gt;&lt;CONTROL-B&gt;&lt;CONTROL-U&gt;repeat #-1&lt;RETURN&gt;&lt;BR /&gt;&lt;CONTROL-L&gt;&lt;BR /&gt;&lt;BR /&gt;-1, because the first line was changed by the LEARN sequence. Well that should do it.&lt;/CONTROL-L&gt;&lt;/RETURN&gt;&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;&lt;/RETURN&gt;&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;&lt;/CONTROL-L&gt;&lt;/CONTROL-R&gt;&lt;/CURSOR-DOWN&gt;&lt;/CONTROL-H&gt;&lt;/CONTROL-M&gt;&lt;/CONTROL-V&gt;&lt;/RETURN&gt;&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;</description>
    <pubDate>Tue, 19 Jul 2005 12:35:48 GMT</pubDate>
    <dc:creator>Uwe Zessin</dc:creator>
    <dc:date>2005-07-19T12:35:48Z</dc:date>
    <item>
      <title>Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586013#M6643</link>
      <description>I'm trying to edit a flat file, which I brought down from the Wintel environment.  And I am trying to add a CR at the beginning of the line and for all of the lines.  Would any know on how to do this within edit/tpu on the VMS environment??&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ian</description>
      <pubDate>Tue, 19 Jul 2005 12:17:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586013#M6643</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-07-19T12:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586014#M6644</link>
      <description>I am a bit rusty on TPU programming, so I would use a learn sequence. Trying without a keypad, but cursor keys (else, use the 'move down' command):&lt;BR /&gt;$ edit/tpu file&lt;BR /&gt;&lt;CONTROL-B&gt;&lt;CONTROL-U&gt;learn&lt;RETURN&gt;&lt;BR /&gt;&lt;CONTROL-V&gt;&lt;CONTROL-M&gt;&lt;CONTROL-H&gt;&lt;CURSOR-DOWN&gt;&lt;BR /&gt;&lt;CONTROL-R&gt;&lt;CONTROL-L&gt;&lt;BR /&gt;&lt;CONTROL-B&gt;&lt;CONTROL-U&gt;what&lt;RETURN&gt;&lt;BR /&gt;&lt;BR /&gt;this tells the number of lines as I have forgotten them since when I invoked the editor ;-)&lt;BR /&gt;&lt;BR /&gt;&lt;CONTROL-B&gt;&lt;CONTROL-U&gt;repeat #-1&lt;RETURN&gt;&lt;BR /&gt;&lt;CONTROL-L&gt;&lt;BR /&gt;&lt;BR /&gt;-1, because the first line was changed by the LEARN sequence. Well that should do it.&lt;/CONTROL-L&gt;&lt;/RETURN&gt;&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;&lt;/RETURN&gt;&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;&lt;/CONTROL-L&gt;&lt;/CONTROL-R&gt;&lt;/CURSOR-DOWN&gt;&lt;/CONTROL-H&gt;&lt;/CONTROL-M&gt;&lt;/CONTROL-V&gt;&lt;/RETURN&gt;&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;</description>
      <pubDate>Tue, 19 Jul 2005 12:35:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586014#M6644</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-07-19T12:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586015#M6645</link>
      <description>Uwe's method will work well, but if you know where your DO key is, you can replace the &lt;CONTROL-B&gt;&lt;CONTROL-U&gt; with just pressing the DO key (&lt;GOLD&gt;&lt;KP7&gt; if you are using the EDT emulation).  The &lt;CONTROL-B&gt; recalls the last entered command and the &lt;CONTROL-U&gt; deletes everything from the cursor (which is at the end of the line) to the beginning of the line.&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;&lt;/KP7&gt;&lt;/GOLD&gt;&lt;/CONTROL-U&gt;&lt;/CONTROL-B&gt;</description>
      <pubDate>Tue, 19 Jul 2005 12:51:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586015#M6645</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-07-19T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586016#M6646</link>
      <description>Ian,&lt;BR /&gt;as so often, what problem are you trying to solve?&lt;BR /&gt;&lt;BR /&gt;Are you getting all your text without linebreaks and want to carrect that?&lt;BR /&gt;- how did you transfer the file from the Wintel box?&lt;BR /&gt;if FTP, try transfer with TYPE ASCI, and you are home.&lt;BR /&gt;&lt;BR /&gt;If something else, please supply more info.&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>Tue, 19 Jul 2005 12:55:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586016#M6646</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-07-19T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586017#M6647</link>
      <description>If you are trying to make the file readable on VMS (i.e., turn it into a standard text file), then I would try the following:&lt;BR /&gt;&lt;BR /&gt;$ analyze/rms/fdl/output=c.fdl login.com&lt;BR /&gt;$ convert/fdl=c.fdl flat.file readable.file&lt;BR /&gt;&lt;BR /&gt;I selected login.com because it should be just a standard ascii text file and the above does assume that you are in your default login directory and the file you are converting is in your default login directory.  flat.file should be replaced with your filename and readable.file should be replaced with the resulting filename you desire.</description>
      <pubDate>Tue, 19 Jul 2005 12:56:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586017#M6647</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-07-19T12:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586018#M6648</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;From your Forum Profile:&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;I have assigned points to  36   of 117    responses to my questions.&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;Maybe you can find some time to do some assigning?&lt;BR /&gt;&lt;BR /&gt;Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.&lt;BR /&gt;Consider, that every poster took at least the trouble of posting for you!&lt;BR /&gt;&lt;BR /&gt;To easily find your streams with unassigned points, click your own name somewhere.&lt;BR /&gt;This will bring up your profile.&lt;BR /&gt;Near the bottom of that page, under the caption â  My Question(s)â   you will find â  questions or topics with unassigned points â   Clicking that will give all, and only, your questions that still have unassigned postings.&lt;BR /&gt;&lt;BR /&gt;Thanks on behalf of your Forum colleagues.&lt;BR /&gt;&lt;BR /&gt;PS.  â   nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before â   please do not take offence â   none is intended!&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;Jan&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 12:58:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586018#M6648</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-07-19T12:58:28Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586019#M6649</link>
      <description>Guys,&lt;BR /&gt;Thanks for bringing to my attention on the points.  I have always submit my points.  However, I am not sure why I'm showing as ungrateful for not assigning points.  Okay, I've just  assigned those points.  And no, I am not offended.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ian</description>
      <pubDate>Tue, 19 Jul 2005 13:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586019#M6649</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-07-19T13:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586020#M6650</link>
      <description>&lt;BR /&gt;Dale wrote: "$ analyze/rms/fdl/output=c.fdl login.com&lt;BR /&gt;$ convert/fdl=c.fdl flat.file readable.file"&lt;BR /&gt;&lt;BR /&gt;Just fwiw... even simpler:&lt;BR /&gt;&lt;BR /&gt;CONV/FDL=NL: bad good :-)&lt;BR /&gt;&lt;BR /&gt;This works because the FDL defaults have all the right stuff, so no actual fdl need to be provided, but the converts needs to be done.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 13:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586020#M6650</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-07-19T13:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586021#M6651</link>
      <description>Hein - I don't understand the command you've posted "CONV/FDL=NL: bad good"  - Do I just do CONV/FDL=NL: bad_file good_file???&lt;BR /&gt;&lt;BR /&gt;As you can see, I am a newbie to the OpenVMS world.&lt;BR /&gt;&lt;BR /&gt;Thanks for your time.&lt;BR /&gt;&lt;BR /&gt;Ian&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 20:46:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586021#M6651</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-07-19T20:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586022#M6652</link>
      <description>Ian,&lt;BR /&gt;&lt;BR /&gt;  TPU has a wildcard support which can be asked to find the beginning of a line. You could add a CR at the beginning of each line like this (comments after "!"):&lt;BR /&gt;&lt;BR /&gt;$ EDIT/TPU yourfile&lt;BR /&gt;&lt;DO&gt;SET WILD VMS &lt;CR&gt;  !could be "VMS" or "UNIX"&lt;BR /&gt;&lt;DO&gt;WILD FIND \&amp;lt; &lt;CR&gt;  !match beginning of line&lt;BR /&gt;&lt;DO&gt;TOP &lt;CR&gt; ! back to start of file&lt;BR /&gt;&lt;DO&gt;LEARN &lt;CR&gt; ! initiate learn sequence&lt;BR /&gt;&lt;FIND&gt;&lt;FIND&gt;&amp;lt;^V&amp;gt;&lt;CR&gt;&amp;lt;^R&amp;gt;&lt;F14&gt; ! program to key F14&lt;BR /&gt;&lt;DO&gt;REPEAT 200&lt;CR&gt; ! replace 200 by required count&lt;BR /&gt;&lt;F14&gt;&lt;BR /&gt;&lt;BR /&gt;See &lt;DO&gt;SHOW WILD to see what wildcards are supported. The "UNIX" set are a bit like regular expressions.&lt;BR /&gt;&lt;BR /&gt;Unfortunately there is no WILD REPLACE command. That would make this exercise much simpler.&lt;BR /&gt;&lt;BR /&gt;&lt;/DO&gt;&lt;/F14&gt;&lt;/CR&gt;&lt;/DO&gt;&lt;/F14&gt;&lt;/CR&gt;&lt;/FIND&gt;&lt;/FIND&gt;&lt;/CR&gt;&lt;/DO&gt;&lt;/CR&gt;&lt;/DO&gt;&lt;/CR&gt;&lt;/DO&gt;&lt;/CR&gt;&lt;/DO&gt;</description>
      <pubDate>Tue, 19 Jul 2005 20:56:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586022#M6652</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2005-07-19T20:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586023#M6653</link>
      <description>If the file is a simple one and in case you need to do this more often than once - attached is a small, simple minded DCL procedure (name it CR.COM):&lt;BR /&gt;&lt;BR /&gt;$ @CR inputfile outputfile</description>
      <pubDate>Tue, 19 Jul 2005 21:59:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586023#M6653</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-07-19T21:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586024#M6654</link>
      <description>&amp;gt;&amp;gt; Hein - I don't understand the command you've posted&lt;BR /&gt;&amp;gt;&amp;gt; Do I just do CONV/FDL=NL: bad_file good_file???&lt;BR /&gt;&lt;BR /&gt;Yes. The NL: is the device (+ missing file) where you tell teh system to look for the fdl file. It is the NULL device (like /dev/null in unix) and just returns nothing (it returns End Of File to e precise). The result is that the FDL code uses 'nothing' plus its build in defaults which are probably all you needed.&lt;BR /&gt;&lt;BR /&gt;I suspect, but can not be entirely sure given the problem description, that the data in the file is just fine, but the attributes were wrong. Thus, you may also have been able to 'add a CR' by a command like:&lt;BR /&gt; SET FILE/ATTR=(RFM=STM,RAT=CR) bad_file&lt;BR /&gt;To understand that, check:&lt;BR /&gt;DIR/FULL (or ANAL/RMS) bad_file;&lt;BR /&gt;DIR/FULL goof_file&lt;BR /&gt;HELP SET FILE /ATTR&lt;BR /&gt;&lt;BR /&gt;Also, how did the fle get there? Maybe all you needed was to transfer in FTP ASCI mode like Jan suggested.&lt;BR /&gt;&lt;BR /&gt;Finally I doubt you really wanted to 'add a CR'. The CR character (ASCII(13)) is rarely used as a stand-alone character. I have only seen it used decades ago in the era of dot-matrix printers and those loud 'chain saw' line printers to achieve overprint and bold print.&lt;BR /&gt;What you probably meant was to add a new line break, or change to attribute to print a carriage return after each record seperator break.&lt;BR /&gt;&lt;BR /&gt;If it is still a problem then you can help us help you with a reply attaching a text file with the output from the mentioned DIR/FULL and also a DUMP/BLOCK=COUNT=1 bad_file.&lt;BR /&gt;&lt;BR /&gt;Welcome to VMS and RMS&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 22:43:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586024#M6654</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2005-07-19T22:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586025#M6655</link>
      <description>"What you probably meant was to add a new line break, or change to attribute to print a carriage return after each record seperator break."&lt;BR /&gt;Hein - You're correct on the statement.  I need to add an Attribute "Carriage return Carriage control" to a RMS file.  I did tried the online help but got lost in translation.  How do I set the file attribute with a carriage return and carriage control?&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help!!&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Wed, 20 Jul 2005 07:48:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586025#M6655</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-07-20T07:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586026#M6656</link>
      <description>Uwe Zessin - The CR.com procedure works wonder for what I am trying to use.  However, I have a file with a length of 210 characters long and I want to put a CR right after the end of the line.  How do I modify your CR.COM procedure to do just that??&lt;BR /&gt;&lt;BR /&gt;Thanks so much for your help on this.&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Wed, 20 Jul 2005 08:14:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586026#M6656</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-07-20T08:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586027#M6657</link>
      <description>Ian,&lt;BR /&gt;change in Uwe's procedure write statement as follow:&lt;BR /&gt;$LOOP:&lt;BR /&gt;$ read /end_of_file=DONE FI LINE&lt;BR /&gt;$ write FO LINE+CR&lt;BR /&gt;$ goto LOOP&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jul 2005 08:23:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586027#M6657</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-20T08:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586028#M6658</link>
      <description>Antonio Vigliotti,&lt;BR /&gt;Still not doing what I wanted to do.  I think the position is off some how.  Would you know what's $ CR[0,8]=13 in Uwe's com procedure?  I think I need to modify that (??).&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Wed, 20 Jul 2005 09:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586028#M6658</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-07-20T09:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586029#M6659</link>
      <description>"Still not doing what I wanted to do. I think the position is off some how. Would you know what's $ CR[0,8]=13 in Uwe's com procedure? I think I need to modify that (??)."&lt;BR /&gt;&lt;BR /&gt;That line is define the variable CR as ASCII 13 the value for a carriage return.</description>
      <pubDate>Wed, 20 Jul 2005 09:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586029#M6659</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-07-20T09:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586030#M6660</link>
      <description>Hello Ian,&lt;BR /&gt;&lt;BR /&gt;$ CR[0,8]=13&lt;BR /&gt;&lt;BR /&gt;"13" is the decimal value of the carriage return control character&lt;BR /&gt;&lt;BR /&gt;"CR" is the name of the symbol, could have been "XYZ" or "ABC" as well.&lt;BR /&gt;&lt;BR /&gt;"[0,8]" makes an assignment to bits 0..8.&lt;BR /&gt;The online help says:&lt;BR /&gt;&amp;gt;&amp;gt; symbol-name[bit-position,size] =[=] replacement-expression&lt;BR /&gt;&lt;BR /&gt;This line just creates a symbol named "CR", length=1, containing the carriage return control character.&lt;BR /&gt;&lt;BR /&gt;$ CR[0,8]=13&lt;BR /&gt;$ show symbol CH&lt;BR /&gt;  CR = "."&lt;BR /&gt;$ write sys$output f$length(CR)&lt;BR /&gt;1&lt;BR /&gt;$&lt;BR /&gt;&lt;BR /&gt;-----&lt;BR /&gt;&lt;BR /&gt;Following your request, I would have changed the procedure the same way like Antonio.&lt;BR /&gt;&lt;BR /&gt;For better debugging your problem I'd like to repeat Hein's request:&lt;BR /&gt;""If it is still a problem then you can help us help you with a reply attaching a text file with the output from the mentioned DIR/FULL and also a DUMP/BLOCK=COUNT=1 bad_file.""&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jul 2005 09:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586030#M6660</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-07-20T09:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586031#M6661</link>
      <description>I see.  How do I put a Carriage return at the end of my line.  As I've indicated ealier, the line is 210 chars long.  Any ideas?&lt;BR /&gt;&lt;BR /&gt;Please help!&lt;BR /&gt;&lt;BR /&gt;Thanks so much!!&lt;BR /&gt;&lt;BR /&gt;Ian</description>
      <pubDate>Wed, 20 Jul 2005 09:33:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586031#M6661</guid>
      <dc:creator>Ian Derringer</dc:creator>
      <dc:date>2005-07-20T09:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Edit/TPU question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586032#M6662</link>
      <description>I believe what you want to do is change the line:&lt;BR /&gt;&lt;BR /&gt;$ write FO CR+LINE&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;$ write FO LINE+CR&lt;BR /&gt;&lt;BR /&gt;This changes from adding the carriage return at the beginning of the line to adding it to the end of the line.</description>
      <pubDate>Wed, 20 Jul 2005 09:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/edit-tpu-question/m-p/3586032#M6662</guid>
      <dc:creator>Dale A. Marcy</dc:creator>
      <dc:date>2005-07-20T09:37:12Z</dc:date>
    </item>
  </channel>
</rss>

