简体   繁体   English

当文件是 a.txt 文件时,我可以在工作流中使用解压缩 session 吗

[英]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.

相关问题 使用Teradata SQL助手将.txt文件导入Oracle表 - Import .txt file into Oracle table using Teradata SQL assistant 从 .txt 文件中删除/过滤/解码这些字符的最佳 python 方法? - Best python way to remove/filter/decode these characters from the .txt file? 如何将 CSV 或 TXT 文件槽命令批量导入 Teradata 数据库 - How to bulk import a CSV or a TXT file trough command into a Teradata database 在Teradata iam中导入.txt文件时,时间戳无效。实际上文件包含时间戳数据,如20180607123456000 - while importing .txt file in teradata iam getting invalid time stamp.Actually file contains time stamp data like 20180607123456000 将.txt文件中的时间戳值导入到Teradata表中的等效列(UTC时间戳)中 - Importing Timestamp Values from a .txt file into an equivalent column (UTC timestamp) in a Teradata Table 如何对只有一列和'n'行的文件执行快速加载? - How can I perform fastload for a file which has only one column and 'n' rows? TPT 脚本在运行时加载另一个文件 - TPT script load an other file when running 我可以在 case 子句中使用子查询吗 - can I use a subquery in a case clause 即使文件中没有数据,terdata fastlod也可以工作吗? - terdata fastlod will work even when there is no data in the file? Teradata 如何使用计数(不同)? - Teradata how can I use count(distinct)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM