HP3000-L Archives

May 2006, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Landin <[log in to unmask]>
Reply To:
Mark Landin <[log in to unmask]>
Date:
Wed, 31 May 2006 08:13:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (47 lines)
Here's  a Perl I wrote a while back to do just that. You can specify a
header and/or trailer file, desired output file name(s), etc. Download it
from here:

http://www.perlmonks.org/?node_id=366897

Enjoy! Let me know if you have questions or, if  you add new features to the
code, let me know.



On 5/31/06, Robert Mills <[log in to unmask]> wrote:
>
> Greetings to the -L,
>
> Have a file, with following structure, where each
> TRANSMISSION-HEADER/TRANSMISSION-TRAILER block needs to be placed into a
> separate file.
>
> There will always be at least one
> TRANSMISSION-HEADER/TRANSMISSION-TRAILER block, HEADER/TRAILER block and
> DETAIL entry in the file.
>
>        TRANSMISSION-HEADER,<transmission header data>
>        HEADER,<header data>
>        DETAIL,<detail data>
>        DETAIL,<detail data>
>        TRAILER,<trailer data>
>        TRANSMISSION-TRAILER,<transmission trailer data>
>
> Anybody got a program or script (Perl/MPEiX/MPEX) that will do this
> (before I write my own in COBOL)?
>
> regards,
>
> Robert W.Mills
> MIS Systems Development Manager
> Windsong Services
> +44 (0)20 8309 3604
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2