> -----Original Message-----
> From: IBM Mainframe Discussion List On Behalf Of Walt Farrell
>
> [ snip ]
>
> You cannot "copy" a .PDF file to SYSOUT, John. You would
> need to have a PDF reader that can extract the text
> information and create a printout of it.
I'm "just the messenger" in this thread, but my understanding of the problem
is that a colleague wants to put a .PDF on the spool so that VPS can then
route it to an appropriate printer (perhaps via an Acrobat reader of some
sort) for printing. I.e., we are trying to use the JES spool for nothing
more than "store and forward" in this case.
> All you can "copy" directly to a SYSOUT file is raw,
> unstructured text (or possibly APF-formatted text, which PDF is not).
Seems to me that a .PDF should "qualify" as an "unstructured" character
string of arbitrary length, as far as JES is concerned. Whatever utility we
use to "copy" it could "break it up" into, e.g., fixed-length records of
(say) LRECL=133 and a suitable block size, which it indeed does. "Problem"
is that when it writes the fixed-length records, "something" is prefixing
each record with an ANSI carriage-control character. From yours and other
replies, I gather that it is not possible to "copy" the .PDF in the way we
want if the target dataset is a SYSOUT dataset. So, it looks like we'll
have to code a VPS exit to "strip" the first byte off each record to
"reassemble" the original .PDF file.
-jc-
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html