Multiple files en AFT renames with a counter

All questions about Control-M jobs definitions
Post Reply
User avatar
spin
Nouveau
Nouveau
Posts: 6
Joined: 04 Apr 2006 12:00
Location: Madrid, Spain

Multiple files en AFT renames with a counter

Post by spin » 05 Jun 2012 4:18

Hello,
We need rename files that will be moved to AFT.

Can I rename this with Control-M module?

Example:

Souce --> machine_1/pub/*
Target --> machine_2/pub/XXXXXXXXX_COUNTER

I tried with this statement to rename with the DATE and it works fine.
$$AFTFILE$$_%%DATE.

But it is possible with a counter????

Thanks

User avatar
spin
Nouveau
Nouveau
Posts: 6
Joined: 04 Apr 2006 12:00
Location: Madrid, Spain

Post by spin » 12 Jun 2012 11:25

Not is a cyclical job, is simply a job of AFT using metacharacters as source.
The runcount value is always one.

User avatar
spin
Nouveau
Nouveau
Posts: 6
Joined: 04 Apr 2006 12:00
Location: Madrid, Spain

Post by spin » 14 Jun 2012 10:57

That's right, but not what I need, thanks

Post Reply