JobMode 50 – module HRDMS

This JobMode is contained in a module package, which can be included in cold.<SpoolType>.ini as follows:

IncludeExternalModule = HRDMS::ZRK

This JobMode internally calls the Distribute JobMode 1.

Since the package is customized, the currently specified values are listed in the parameter overview as well.

Parameter

Value

Source Files

See Sign JobMode 50 – module HRDMS

Output

See example below

Configuration Parameters with Customized Default Values

<DistributeRuleFile> = <ColdConfigDirectory>/distribute.<SpoolType>.ini

 

RULE1_IF1 = 1;SQLSELECT;select 'exists', dms_client, doctype from screpersa_cfg where actionnumber=substr(':[7]:', 1, 5) and instr(hr_client, substr(':[DIR]:',-12, 3))>0 ;

-  Checks, if the SQL results contains “EPA_IA” in row 1 / column 1.

 

RULE1_IF2 = 1;SQLRESULT;exists

RULE1_IF2 = 3;SQLRESULT;EPA_IA

RULE1= MOVE; <ColdDocsBaseDirectory>/<SpoolType>/<SpoolType.Generation>/EPA_IA_:[SQL2]:/:[DIR]:

RULE2_IF1 = 1;SQLRESULT;exists

RULE2 = MOVE; <ColdDocsBaseDirectory>/<SpoolType>/<SpoolType.Generation>/:[SQL3]:_:[SQL2]:.<SplittingBatchDirExtension>

Table 206: Distribute: JobMode 50 – module HRDMS

Docs directory after Distribute:

Diirectory after Distribute

According to database rules (held in database table “screpersa_cfg”) the documents are sorted based on target tenants, except for “EPA_IA_*”, for which the directory names are kept unchanged.