• Subject: RE: Simple Question
  • From: "JIM LANGSTON" <JLANGSTON@xxxxxxxxxxx>
  • Date: Mon, 30 Jul 2001 10:22:25 -0700
  • Importance: Normal

You have a held lock on the file from the job that is trying to delete the
file.  Obviously your program didn't close the file.

Did you RETURN or RETRN from the RPG program without setting on LR?  That
would leave the file open.

Did you USROPN the file and forget to do a CLOSE on it?  That would leave
the file open.

Something in your program is opening the file, and then not closing it.

Regards,

Jim Langston
Programmer/Analyst
Cels Enterprises, Inc.

-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
Behalf Of RReddy@medicalartspress.com
Sent: Monday, July 30, 2001 8:24 AM
To: RPG400-L@midrange.com
Subject: RE: Simple Question



This is what it shows... when i do the WRKOBJLCK qtemp/filename

 QPADEV001L   RRE          *SHRRD     HELD           *JOB

Selected option 8 at this screen.. the next screen shows this info...

OEWNDWWX    QTEMP       *FILE-PHY  *SHRRD    HELD    YES

RRE is my sign on ID to the AS400 and OEWNDWWX is the file in QTEMP.

Please advice.






"JIM LANGSTON" <JLANGSTON@CELSINC.COM>@midrange.com on 07/30/2001 09:56:21
AM

Please respond to RPG400-L@midrange.com

Sent by:  owner-rpg400-l@midrange.com


To:   <RPG400-L@midrange.com>
cc:

Subject:  RE: Simple Question


Hmm... Interesting, have you looked at who has them locked?

WRKOBJLCK QTEMP/filename

Regards,

Jim Langston
Cels Enterprises, Inc.


-----Original Message-----
From: owner-rpg400-l@midrange.com [mailto:owner-rpg400-l@midrange.com]On
Behalf Of RReddy@medicalartspress.com
Sent: Monday, July 30, 2001 7:32 AM
To: RPG400-L@midrange.com
Subject: Simple Question



Hey Everybody.

I have a CL program that creates couple of files in qtemp library before
showing the order entry screen.

Now all i wanted to do is to clear the files in qtemp library in the CL
program, once user is done with his order entry stuff.

But the problem is some of the objects seems to be locked, how can i unlock
the objects & clear the files in the qtemp library.

Please Advice.

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


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.