1

MarkLogic 版本 - 9.0-6.2

当我通过我们的企业调度程序 Zena(类似于 Control-M)运行以下 mlcp 代码 (TestLoad.sh) 时,即使 mlcp 成功完成并且所有记录都被摄取到 STAGING DB 中,Zena 作业也会失败。

Command '"./TestLoad.sh"'
failed with return code 0 and error message

MLCP 代码 (TestLoad.sh)

#!/bin/bash
mlcp.sh import -ssl \
-host localhost \
-port 8010 \
-username uname \
-password pwd \
-mode local \
-input_file_path /inputfilepath/test \
-input_file_type documents \
-aggregate_record_namespace "http://new.webservice.namespace" \
-output_collections test \
-output_uri_prefix /test/ \
-transform_module /ext/transform.sjs

我在 bash 脚本的末尾添加了“exit 0”,但仍然收到相同的失败消息。

这是我可以在我的 mlcp 脚本中处理的事情吗?

4

0 回答 0