Hello Gil, One thing you never do with IEPUPDTE input or managed datasets is access them with any editor that modifies line numbers.
Even though the source or macro member has line numbers, you can only EDIT them in "UNNUM" mode. I also recommend that you only access such data using a screen width > 80 characters, so that the line numbers are visible as you work with the data. Consider those line numbers as the KEY to each record, and that updates can be performed as a in-place replacement when the key matches, or a insert when they don't. Although it can be done, line deletion is a bad choice to make when using IEPUPDTE. Removal of a line is best made by changing that line to a comment. ++SRCUPD and ++MACUPD via IEPUPDTE is only usable when the original data is supplied with line numbers that are "guaranteed" never to be changed. Regards Bruce Hewson ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

