|
Writing to the file (RPG)(it is within a LANSA function). Does a CLOSE ALWAYS have to have an OPEN? -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Holden Tommy Sent: Wednesday, September 13, 2006 11:16 AM To: Midrange Systems Technical Discussion Subject: RE: **SPAM** Member ASDAM already in use. By inserting you mean writing to the file or SQL insert? If you have the file open you can't clear it. You'll have to close the file then clear... Thanks, Tommy Holden -----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: **SPAM** 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." -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
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.