Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

How to change timestamp ?

$
0
0

We have scenario proxy to file(SFTP) PI 7.1

 

 

For each trigger from proxy...data is split into 3 files (multimapping used) with filenames as :

abc<yyyyMMdd_HHmmss>.txt

def<yyyyMMdd_HHmmss>.txt

xyz<yyyyMMdd_HHmmss>.txt

 

 

The timestamp should be same for all three files for each trigger.

 

 

Now the issue is that even if PI takes one more second for any of the split to process, the timestamp will vary by 1 second.

 

 

e.g. for each trigger filenames should be:

abc20140606_125417.txt

def20140606_125417.txt

xyz20140606_125417.txt

 

 

if the delay in processing of any of the split is by one second..filenames will be:

abc20140606_125417.txt

def20140606_125418.txt

xyz20140606_125419.txt

 

 

As proxy is triggered a number of times a day, I cannot hard code the time part in timestamp.

 

 

Can anybody help me in meeting this requirement ?


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>