Triggering Archiving of UnForm Jobs

Top  Previous  Next

In addition to using archive commands in rule sets, you can use command line options to establish default values and to trigger archiving even in cases there rule sets do not contain archive commands, or if no rule set is invoked and jobs are passed through to output.

 

At a minimum, you should specify a library, using the –arclib option.  Other options that set archive properties can be used, but care needs to be taken as these are generic options that will apply to all documents that are not archived via specific archive commands.

 

-arclib "libpath"

-arcdoctype "doctype"

-arcdocid "docid"  (if not supplied, an auto-generated number is created)

-arcsubid "subdoc ID"

-arcsubtitle "subdoc title"

-arctitle "title"

-arccats "cat1.1|cat1.2|cat1.3;cat2;cat3.1|cat3.2;..."

-arckeywords "kw1;kw2;..."

-arcnotes "notes"  (use \n character sequence to embed line breaks)

-arcentityid "entityid"

-arcargs "uf90c args for subjob"

-arcsep char  (separator for category segments - default is |)

-arcdtm yyyymmddhhmmss  (normally automatically calculated)

-arcsubdtm yyyymmddhhmmss  (normally automatically calculated)

 

The keywords setting can be a semi-colon delimited list, or a number indicating how many keywords to generate from content (-1 or "all" for all).  The default number of keywords is found in uf90d.ini.  When keywords are scanned, there is a file (ufnonwrd.txt by default) that contains words and patterns to ignore.

 

Use \; or \| (or \<sep char>) to embed delimiters in keywords or categories. Use \\ to embed a backslash.

 

Note ; and | characters (and spaces) must be protected from the shell, so keywords and categories in particular should be quoted, as well as any argument with spaces in it.

 

-arcsubid "subid*" will sequence the key to prevent overwrites.  Using "subid\*" will force "subid*".