|
Greg, If you SETLL on MBAWRES6 (which is in descending sequence) then add 1, you will get the next sequence number. Make sure that you write the record right away -or- run the program during off hours. Also, don't forget to write records to MBA2CPP. This file contains the reports (if you want the comments to print on any reports/documents) alsoneeds to be populated.
I can send you some sample code if you want. I have been using these
programs to auto-populate shipments with export comments and other custom
stuff for a number of years. Depending on the version of OS, you may have
to re-write some of the code.
Eric
>
>I need to load about a 1000 comments associated with specific items.
>COM - File Maintenance - Comments - Specific Item.
>
>I'm not aware of any offline load for comments. Is there one at XAR4?
>
>I think I need to write a program to do this. It looks a little
>tricky. Does anyone know where the next available Comment Header
>Number is stored?
>
>The files look like MBEDCPP, MBAXREP, and MBAWREP.
>
>Thanks for any suggestions,
>Greg
>
----------------------------------------------------------------------
Get the latest Windows Live Messenger 8.1 Beta version. Join now.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.