Btrieve Error 025 on COP Open Order by Salesman Report

Btrieve Error 025 on COP Open Order by Salesman Report

Q - When I run COP -> Reports -> Open Order by Salesman Report, I receive Btrieve Error 025.  What causes this error? See sample screen below:


A - Typically this is caused by a work file usage conflict.  This means another user is in the middle of running the same report, which requires exclusive use of the COP Open Order By Salesman (CPOPNSLM) work file.  Then when your session tries to create the same work file, you will receive error 025. 

Just wait for the other user to finish his/her report and try again.  If you still can't run this report after waiting for an extensive period of time and you don't know who the other user is who is locking you out, you may use the following procedure to identify who is locking you out:

(1) Identify the name of the work file that has the conflict.
On the Elliott Btrieve Error screen above.  Click on the "Detail" button.  Then you will see the Database Activity Snapshot window show up.  Scroll to the end. You will see the entry has the Error 0025.  That is the physical name of the data file that has the conflict.  See sample screen below.

In this example, we see the name of the file that has the conflict is CPOPNSLM.

(2) Use PSQL Monitor Utility on server console to find the offending user.
Go to your Elliott (PSQL) Server, and bring up PSQL Montor.  This mostly can be done through:
    Start -> All Programs -> Pervasive -> PSQL (version) -> Utilities -> Monitor; or
    Start -> All Programs -> Actian PSQL 12 -> Utilties -> PSQL Monitor

In PSQL Monitor, choose "Microkernel -> Active Files." Find the CPOPNSLM table. See following sample screen:



In this example, we see that the user who is currently using the CPOPNSLM table is "emk."  Now you can go to user emk and ask him/her to logout of Elliott to end the usage conflict of this table.

(3) Use PSQL Monitor Utility on server console to terminate the offending user.
Sometimes when the user terminates an Elliott session through an exception method, like killing an Elliott task through Task Manager, open PSQL files can be left behind without closing, even though an Elliott session is no longer present.  In situations like that, you should try to logout the user from the Windows session.  If that still does not resolve your problem, then you may have to terminate the user through the PSQL Monitor utility.

Go to PSQL Montior Utility, and choose "MicroKernel -> Active Users."  Find the offending user session, then click on the"Delete Current User" button.



EMK



    • Related Articles

    • CPOPNSSN Customer Order Processing Open Orders by Salesman Report

      Open Orders by Salesman Report Application Overview This report featuring only open orders can be used as a sales analysis auditing tool, measure productivity, and as a customer service tool. You can print the report for a single salesman or a range ...
    • Change – Add Salesman No. to Open Order Report by Customer, Change CSV Order of Fields

      Release date: 6/24/16 For COP --> Reports, --> Order Status Reports, --> Print, --> Open Order report/All Items if field "1. By Item, Cat, Customer or Ship-to?" is C and field "18. Show QTYAVAILBYCOMP Attrib Info ?" is N, the Open Orders by Customer ...
    • Salesman Security

      Released Date: 08/30/2017 Sometimes your organization may use outside sales representatives. These reps, often, are not your real employees. In many cases, they represent multiple vendors' products. If you choose to let them access your Elliott ...
    • Btrieve Error USE on COP Lock File

      Q - Today, for whatever reason, we experienced a large amount of locking issues in the warehouse. Several times today we ran into the problem with printing invoices where we received a message "Btrieve Error USE on COP Lock File," and it stops ...
    • Btrieve Error Codes 001 - 199

      MicroKernel (Btrieve) Database Engine Status Codes This section describes status codes that the MicroKernel returns. All status codes are provided in 3-digit formats since the search on this website cannot search 1 or 2-digit words correctly. That is ...