[英]Can i use unzip session in workflow when the file is a .txt file
I am working on an Informatica workflow and using Teradata Database.我正在研究 Informatica 工作流程并使用 Teradata 数据库。 The file is a.txt file.
该文件是一个.txt 文件。 When I run the workflow I get the error message below.
当我运行工作流程时,我收到以下错误消息。 Error opening file [/infa_shared/uss/SrcFiles/vnd_MG//PRx].
打开文件时出错 [/infa_shared/uss/SrcFiles/vnd_MG//PRx]。 Operating system error message [no such file or directory].
操作系统错误消息 [没有这样的文件或目录]。 I have an unzip session in the sessions.
我在会话中有一个解压缩 session。
You can always use a command task to execute the unzip explicitly.您始终可以使用命令任务显式执行解压缩。 If your file name is PRx.txt, then the command line of the task will be:
如果您的文件名是 PRx.txt,那么任务的命令行将是:
unzip /infa_shared/uss/SrcFiles/vnd_MG//PRx.txt
Then in the next connected session, associate the source file with the filename you have extracted from your.txt archive - in your session's mapping setting.然后在下一个连接的 session 中,将源文件与您从 your.txt 存档中提取的文件名相关联 - 在会话的映射设置中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.