cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple FileNames

siddhesh_pathak4
Contributor
0 Kudos

Hello all,

Is it possible to have * and GDG (0) simultaniously in file name i want to read multiple GDG file.

As per my unerstanding * is used within quotes ' ' and GDG (0) will not require this.

Please let me know if anybody faced same problem before.

Thanks,

Siddhesh.

Accepted Solutions (0)

Answers (2)

Answers (2)

siddhesh_pathak4
Contributor
0 Kudos

solved

former_member187339
Active Contributor
0 Kudos

Hello,

What do you mean by GDG(0)?? IF you want to pick all file mention start (*) in communication channel

Regards

Suraj

siddhesh_pathak4
Contributor
0 Kudos

I want to use latest file from multiple files, like

abc.backup(0)

cfg.backup(0)

which ever file is available we need to pick that..

former_member187339
Active Contributor
0 Kudos

Hi Siddhesh,

The filename can be all (mentioned by star) or all files having some particular combination. Like in your case SDG's...

Just to have a little more clearance, you have three files SDG(0), SDG(1) and SDG(2) with sDGH(2) being latest and you want PI to process this file alone... IF this is your requirement then there is no way to do it directly using file adapter..

may be some workarounds can be used, such as to have a batch file which will copy the latest file to some other directory where PI will poll and pick it.. but then who is going to decide on the time of execution of this batch file..

Another approach will be to usejava proxies...

You need to keep all this in mind before creating the scenario...

Regards

Suraj