home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / cmspipl / 797 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.5 KB  |  32 lines

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