cancel
Showing results for 
Search instead for 
Did you mean: 

Time Stamp Problem?

umesh_badveli
Participant
0 Kudos

Hi All,

I have a problem in Production server related to Time stamp

My Scenario is SFTP to STFP .

Here is my Issue when I am fetching the files form Sender Folder say there are 2 files, for this 2 input files it is giving same time stamp for two output files .and output folder it is writing only one file .

Here I am using dynamic configuration for time stamp.

It is working fine in Development Server

Quick Help required .

Regards

Umesh

Accepted Solutions (1)

Accepted Solutions (1)

vicky20691
Active Contributor
0 Kudos

Hi Umesh,

try adding milleseconds at the end in timestamp in dynamic configuration

Read date and timestamp of XI message with mill... | SCN

Regards,

Vikas

umesh_badveli
Participant
0 Kudos

Hi Vikas ,

I am adding milliseconds also still I am getting same file

Please check screen shot.

In development its working fine giving to different time stamp ,In prod it is behaving like this .

Regards

Umesh

former_member186851
Active Contributor
0 Kudos

Hello Umesh,

Check the polling interval?is that same for both the channels?I mean in dev and other box?

And timestamp why don't you add in the receiver channel?

umesh_badveli
Participant
0 Kudos

Hi Raghuman,

Polling interval is same and my time stamp formate is different its like YYYYMMDD_HHMMSS_SSS

if I go with add time time stamp it is YYYYMMDD-HH-MM-SS.

Any inputs

Regards

Umesh

bhavesh_kantilal
Active Contributor
0 Kudos

Unfortunately, there is no guaranteed way to control this. Your mappings can get executed in parallel and at the same millisecond as you have already seen.

One way to make sure this doesn't happen is to switch the Interface to EOIO so that the  mapping wiill also be executed in sequence which means your timestamp will be unique.

Regards

Bhavesh

former_member186851
Active Contributor
0 Kudos

Hello Umesh,

Try one thing.

In the processing type select ascending by date option and check if its working.

former_member182412
Active Contributor
0 Kudos

Hi Umesh,

Adapter is writing the file in same milliseconds, try adding nano seconds also to the file name.

Regards,

Praveen.

umesh_badveli
Participant
0 Kudos

Hi Bhavesh,

Thanks a lot, your suggestion helped me .

and small question before closing this thread .

how to main queue name in single stack?

Regards

Umesh

former_member186851
Active Contributor
0 Kudos

Hell Umesh,

It can be done in the Channel.

vicky20691
Active Contributor
0 Kudos

Hi Umesh,

In case you want to try something with exactly once itself just see this

see the section with poll interval

Regards,

Vikas

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Umesh,

If your requirement is to add Timestamp in the output file.

You can use add timestamp option in the Receiver SFTP right?