× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: CPF3130
  • From: "Al Barsa, Jr." <barsa2@xxxxxxx>
  • Date: Mon, 29 Nov 1999 16:51:57 -0800

At 02:53 PM 11/29/1999 -0600, you wrote:
>Hi All,
>
>We have a CL program which needs to do a CLRPFM before the RPGILE program
>starts to write to it.  Right after the CLRPFM we do a MONMSG CPF3130.  When
>we run the program it still blows up with the message that a CPF3130 has
>occurred because the file is in use.  And yes it is, we were holding it open
>with DBU.  Then I tried an ALCOBJ with the same MONMSG and go to the end of
>the program on that error; same result.  What am I doing wrong?

You're not doing anything wrong.  But you need an exclusive lock on the 
file member to clear it.  You have to get out of DBU, or redesign your 
application.

Al




+--------------------------------------------------+
| Please do not send private mail to this address. |
| Private mail should go to barsa@ibm.net.         |
+--------------------------------------------------+

Al Barsa, Jr. - Account for Midrange-L
Barsa Consulting, LLC.  
400 > 390

Phone:          914-251-1234
Fax:            914-251-9406
http://www.barsaconsulting.com
http://www.taatool.com

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.