Jim,

You are right, my response was a little rude. I apologize.

A PDF is simply a stream of binary data - records are of no
consequence.   You can store a PDF in any kind of dataset you want, so
long as you can read it from your COBOL program and load it into the
BLOB.   RECFM=U, BLKSIZE=27998 seems the most natural to me.   You
might also consider a zFS file in say /tmp.

Kirk Wolf

On Wed, Nov 12, 2008 at 3:20 AM, Jim McAlpine <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 11, 2008 at 11:07 PM, Kirk Wolf <[EMAIL PROTECTED]> wrote:
>
>> This question has great potential for a really long IBM-MAIN thread :-)
>>
>> Is it a question about:
>> - how to store a PDF in a dataset?
>> - how to load PDFs into DB2?
>> - how to transfer a PDF to a mainframe dataset?
>> - how to process DB2 LOBs in COBOL ?
>>
>> Pick your favorite aspect, or anything slightly related, and post away :-)
>>
>> The requirements are little vague to suggest the best approach.
>> For example:  where are PDFs that you want to load?  If they are on
>> another platform and you can get a DB2 client connection from that
>> platform, then use a utility or simple program (say, in Java) on that
>> platform to load the PDF into the LOB via a remote DB2 connection.
>>
>> Kirk Wolf
>> Dovetailed Technologies
>>
>>
>>
> I thought that I had explained the question in my original post.  All the
> other people that answered didn't seem to have a problem and answered
> specifically regarding the attributes of the dataset in which to store the
> PDF file.  The other stuff in my original post intimated that the PDF would
> be uploaded to DB2 with a COBOL program and that I would FTP the PDF
> to z/OS.  Sorry if I wasn't clear enough.
>
> Jim McAlpine
>
> ----------------------------------------------------------------------
> 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
>
>

----------------------------------------------------------------------
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

Reply via email to