Testing Existence of Documents

Top  Previous  Next

To test the existence of a library, document type, document ID, or image sub ID:

 

-arcexists

-arclib "library"

-arcdoctype "type"

-arcdocid "docID"

-arcsubid "subid"

-o "[client:]outputfile"

 

No login is required.  You can test for just the library, a library and document type, a library and document type and document ID, or all four elements.  The system prints a 0 or 1 to the output device, plus a CRLF (0=not found, 1=found).