OPNDBF then CLOF – the joblog indicates that the file was closed but it still appears in dspjob #14

5 pts.
Tags:
AS400 iseries
CLOF
OPNDBF
                                 Member/    Record     File    I/O  ----Open--- File            Library    Device     Format     Type       Count Opt Shr-Nbr

B99FL161   XYZISDTA   B99FL161   B99FX161   LGL        4 IO  YES  3

 

When the NBR is > 1 the close only reduces the NBR by 1 - and the file still appears in the joblog. When the OPNDBF is

used to actually open the file it opens the file in XYZISDTA because it was left behind from the close. This is a problem

because this file is now pointing to the wrong library.



Software/Hardware used:
iSeries

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    This part of your sample output shows what might be part of your problem:
    ----Open---
      Shr-Nbr
    
      YES  3
    The file that you show is set for "shared processing". The data you show says that the job currently has three shared connections to it. Use the <help>-key to see something about what those columns refer to. Without seeing how you're declaring, opening and closing the file (plus any overrides that might have been run earlier along with any override deletions), and also seeing how the sharing attribute is set on the file itself, there's no way to know what changes you might want to make. Also, it might be necessary to tell us what version of the OS is involved. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following