HP3000-L Archives

January 2015, Week 3

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:
Tom Hula <[log in to unmask]>
Reply To:
Date:
Mon, 19 Jan 2015 21:25:19 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
This is being done on an HP3000 in Cobol.

I'm making a change to a report that prints in PCL5. The field that was changed was already getting bolded
and that works fine. On a programming change from our customer, I am seeing fields like AQ004~ and B7003~.
In the existing program where I am trying to print this data, I am getting things like AQ004u and B7003u where
that "u" has two dots above it. International, in other words. Looks like u umlaut in German. Obviously, the
"~" symbol is some sort of PCL control character, but so far, I haven't been able to find the secret to making
just the "~" appear or even when or why I would specify the "~" character as a control character. It would
be nice if it was as simple as printing ~~ to make the ~ appear.

I'm actually taking three fields and the hyphens and putting them together like so...the field with the ~ on the end is the 2nd field:

                INITIALIZE PCL-15-BLOCK-STK-SEQ
                STRING PB-EDI-BLOCK DELIMITED BY SPACES
                "-" DELIMITED BY SIZE
                PB-EDI-STACK-ID DELIMITED BY SPACES
                "-" DELIMITED BY SIZE
                PB-EDI-STACK-SEQ DELIMITED BY SPACES
                INTO PCL-15-BLOCK-STK-SEQ

So I actually ended up with "005-AQ004u-002" on one line (u is u umlaut)
Tom Hula
Victor Barnes Company

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

ATOM RSS1 RSS2