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%93012710533351@VM.MARIST.EDU>
- Newsgroups: bit.listserv.cmspip-l
- Date: Wed, 27 Jan 1993 10:37:51 EST
- Sender: VM/SP CMS Pipelines Discussion List <CMSPIP-L@MARIST.BITNET>
- From: Scott Brooks <SBROOKS@PSUHMC.BITNET>
- Subject: Re: Packed data.
- In-Reply-To: Message of Wed, 27 Jan 1993 09:41:52 LCL from <PIPER@VNET>
- Lines: 31
-
- Thanks for the responses! I was able to get by my problem by using
- a suggestion from Melvin to use C2X and XLATE:
-
- SPEC 1-22 1 23-27 C2X NEXTWORD 28-* NEXTWORD | XLATE 33-33 D -
-
- So thanks John for the ideas below john to use SPEC and XLATE. I tried
- strliteral, c2p, and xi but all of these were not valid for me in Pipes.
- I'll read up on the chapter you suggested when I get some time -
- hopefully it will will in the gaps for me on strliteral, c2p, and xi.
-
- Scott
-
- On Wed, 27 Jan 1993 09:41:52 LCL John P. Hartmann said:
- > RE: Packed data.
- >
- > I can do this
- >
- > pipe strliteral x001075667d | spec 1-* c2p | xi
- > >-001075667.
- > pipe strliteral x001075667d | spec 1-* c2p(2) | xi
- > >-0010756.67
- >
- > So I don't do what you ask for (I also give the sign).
- >
- > Now, I hope *you* will be able to do this too some time in the future.
- >
- > For now, you can find packed conversion done with SPEC and XLATE in
- > SQLSELECT REXX. It is touched on in SL26-0018-1 in the chapter
- > about using SQL.
- >
- > j. john@vnet.ibm.com
-