Informatica-是否可以在不使用脚本的情况下在命令任务中设置工作流量变量?

发布于 2025-01-23 12:29:20 字数 210 浏览 3 评论 0原文

我有一个文件(x),其中包含一行,指定另一个文件的位置和名称(y)。 x在工作流变量中捕获,但y并非如此,我需要将y作为参数传递给一个会话中的sql命令。由于使用basename $(HEAD -N 1 $$ X)的单行应该可以使用这一行,因此我犹豫不决地专门为此创建一个脚本(也没有当前使用的其他脚本) 。

有没有办法将命令的输出(上面指定的)分配给工作流变量?

I have a file (X) which contains a single line specifying the location and name of another file (Y). X is captured within a workflow variable but Y isn't, and I need to pass Y as a parameter to a post SQL command in one of the sessions. Since this should be possible using a single line with basename $(head -n 1 $$X), I am hesitant to create a script specifically for this (also since there are no other scripts currently used).

Is there a way to assign the output of a command (the one specified above) to a workflow variable?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文