> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Gilmartin
> Sent: Wednesday, July 18, 2007 8:21 AM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Re: UNIX File -> PDS via ISPF LM Services?
> 
> 
> On Tue, 17 Jul 2007 21:14:20 -0500, Kenneth E Tomiak wrote:
> >
> >OCOPY
> >
> I believe I need to use ISPF LM services.  I just tried OCOPY
> and it appears not to serialize properly:
> 
> o If I attempt to allocate OUTDD with DISP=OLD, it fails with
>   IKJ56241I DATA SET IS ALLOCATED TO ANOTHER JOB OR USER if
>   another session is editing even a different member of the
>   same PDS.
> 
> o If I allocate OUTDD with DISP=SHR, don't I have an integrity
>   exposure?
> 
> Thanks for the suggestion,
> gil

I assume you are using REXX. If so, then why not just read the UNIX
file, record by record, using normal REXX I/O and add each record to the
PDS using LMPUT?

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

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