Informatica-是否可以在不使用脚本的情况下在命令任务中设置工作流量变量?
我有一个文件(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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论