home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!PSUHMC.BITNET!SBROOKS
- Message-ID: <CMSPIP-L%93012614512965@VM.MARIST.EDU>
- Newsgroups: bit.listserv.cmspip-l
- Date: Tue, 26 Jan 1993 14:48:00 EST
- Sender: VM/SP CMS Pipelines Discussion List <CMSPIP-L@MARIST.BITNET>
- From: Scott Brooks <SBROOKS@PSUHMC.BITNET>
- Subject: Translate Question
- Lines: 21
-
- I have a CMS file with a 5 byte field in each record (columns 23-27) which
- was originally created in cobol as a PIC S9(8) COMP-3. I'd like to
- write a Pipes filter to translate this field to a readable format.
- Example: in the first record this field has the value X'001075667D' (5 bytes);
- I'd like to wind up with 001075667 in character (8 bytes).
-
- Any help appreciated,
-
- Scott
-
-
-
- +--------------------------------------+--------------------------------------+
- | Scott Brooks | Bitnet: SBROOKS@PSUHMC.BITNET |
- | Programmer Analyst |--------------------------------------|
- | Information Systems | Internet: SBROOKS@PSUHMC.HMC.PSU.EDU |
- | The Milton S. Hershey Medical Center |--------------------------------------|
- | P.O. Box 850 | Phone: (717) 531-6954 |
- | Hershey, PA 17033 |--------------------------------------|
- | | Fax: (717) 531-7259 |
- +--------------------------------------+--------------------------------------+
-