To have WebDocs automatically add revisions to existing documents you will need to create a post exit program with the following logic structure.
- Do an SQL lookup on DOCS00 for other documents with matching key values. You should be specific enough to only get one result back.
- Check out the document from the result of the search in step one using the DOCCHKO command.
- Check in new documents IFS file using the command DOCCHKI
- Remove the new document with the DOCINFODEL command leaving only the new revision to the original document.
Last Modified On: July 03, 2020