简体   繁体   English

当我尝试在 Powercenter 上执行工作流程时出现以下错误

[英]I’m getting below error while I try to execute a workflow on Powercenter

Transformation Parse Warning [<<P M Parse Warning>> <<Invalid constant sun-expression>> <<Expression Error>> [TO_DATE]:invalid string for converting to Date 
… t:TO_DATE(s:s:”,s:s:’YYYYMMDD’)
……….
AND SATIS_TARIHI = >>>> TO_DATE($$RUN_DATE,’YYYYMMDD’)<<<<]; 

How can I solve this?我该如何解决这个问题? This is the first time I encounter this error.这是我第一次遇到这个错误。 Normally, this is a daily routine for our job.通常,这是我们工作的日常工作。 The parameter is successfully added to the mapping and all the other things seem okay.参数已成功添加到映射中,所有其他事情似乎都没有问题。 I'd appreciate your help.我很感激你的帮助。

I tried to start the workflow and got this error.我尝试启动工作流程并收到此错误。

You need to define a $$RUN_DATE in mapping.您需要在映射中定义 $$RUN_DATE。 Currently its not defined in mapping or its null in parameter file.目前它未在映射中定义或在参数文件中为空。

You need to set a default value in mapping like 20221221 for today.您需要在映射中设置一个默认值,例如今天的20221221

Or else you can set it up in a parameter file like this或者你可以在这样的参数文件中设置它

[folder.workflow_name]
[folder.session_name]
$$RUN_DATE=20221221

Considering this is your daily routine and up till now it has been working fine, I assume this is not a new development and no recent changes have been made.考虑到这是您的日常工作,并且到目前为止它一直运行良好,我认为这不是新开发的,并且最近没有进行任何更改。 Apparantly PowerCenter got an invalid value for the parameter.显然,PowerCenter 得到了一个无效的参数值。

  • Check you parameter file and how it gets generated.检查您的参数文件及其生成方式。
  • Was the process of generating paramfile executed without issues?生成参数文件的过程是否顺利执行?
  • Was there enough storage space?是否有足够的存储空间?
  • Can you verify the paramfile contents?你能验证参数文件的内容吗?
  • Can you regenerate it?你能再生它吗?
  • Can you modify it and provide some value manually?您可以修改它并手动提供一些值吗?

Feel free to get back with some updates for more help if your problem won't get resolved by checking the items on the list above.如果您的问题无法通过检查上面列表中的项目得到解决,请随时返回一些更新以获得更多帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM