I was working on a requirement where I need to process Informatica workflow from a source file. But the issue was that file might exist and in some case it might get missing. So was searching for replacement of touch command in unix and here is the code:
$PMSourceFileDir\$$SOURCE_FILENAME --- is your file path
type nul >>$PMSourceFileDir\$$SOURCE_FILENAME & copy $PMSourceFileDir\$$SOURCE_FILENAME +,,
$PMSourceFileDir\$$SOURCE_FILENAME --- is your file path
type nul >>$PMSourceFileDir\$$SOURCE_FILENAME & copy $PMSourceFileDir\$$SOURCE_FILENAME +,,
1 comment:
Really nice blog post. provided a helpful information. I hope that you will post more updates like thisInformatica Online Course Bangalore
Post a Comment