updatchfile - Clear Attachment ID Field

updatchfile [-c] [-m maxtrans] productline [filename]

Clear attachment ID fields from parent records, in an entire product line or in an individual file, that have no corresponding attachment records. (Attachment ID fields are hidden fields that the system adds to files when you enable them for attachments.) Use this utility to clear unnecessary attachment ID fields before reissuing attachment records, because parent records without corresponding attachments no longer need these hidden fields.

Program Option Description
c Clear attachment ID fields from parent records that have no corresponding attachment records. If you do not use this option, updatchfile produces a report listing the number of parent records without attachments; it does not clear any ID fields.
m Specify, in maxtrans , the number of records to clear at one time (internal to the program; that is, within one database transaction). The default of 50 helps to limit the loss of data in a recovery situation.
productline Product line for which you want attachment ID fields cleared.
filename File name you want attachment ID fields to clear.