|
Make the file USROPN, move your CLRPFM to just before you begin to write the driver data. After the clear, open the file, process the inserts, then run your query, and close the file. Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-297-2863 or ext. 1863 -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Don Cavaiani Sent: Wednesday, September 13, 2006 11:06 AM To: midrange-l@xxxxxxxxxxxx Subject: Member ASDAM already in use. I have a procedure where I do a CLRPFM to a physical file. Later on in the procedure, if a command key is accessed, the file has records "inserted" into it, then finally a query runs against that file to print the contents. Now, if the user ELECTS to re-run the procedure without returning to the menu, they will start over with the CLRPFM command. This is when the procedure FAILS with the message "Member ASDAM already in use". I'm not sure the best way to handle this ?? Don F. Cavaiani IT Manager Amerequip Corp. 920-894-7063 'Treat every person with kindness and respect, even those who are rude to you. Remember that you show compassion to others not because of who they are but because of who you are.'--Andrew T. Somers "When faced with the choice of being 'right' or being 'kind', choose the kind option every time."
As an Amazon Associate we earn from qualifying purchases.
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.