Changing the name of the of the output
Posted: Sat Feb 07, 2009 1:16 am
HI,
Scenario:
I/p file :Mainframe binary file
O/p File :Ascii file
The format of i/p name is <<FileName>>_<<DATETIMESTAMP>> ( meaning file name changes every day).
and we need a standard output file name say : <<FileNAme>>.txt
Requirement:
I/p Binary file name :<<Filename>>_<<DatetimeStamp>>
o/p ASCII File Name : <<FileName>>
Example 1 : I/P File name : Contract_02042009.bin
o/p File name: Contract.txt
Example 1 : I/P File name : Contract_02052009.bin
o/p File name: Contract.txt
Please let us know the ways to achive this.
Thanks,
Chetan
Scenario:
I/p file :Mainframe binary file
O/p File :Ascii file
The format of i/p name is <<FileName>>_<<DATETIMESTAMP>> ( meaning file name changes every day).
and we need a standard output file name say : <<FileNAme>>.txt
Requirement:
I/p Binary file name :<<Filename>>_<<DatetimeStamp>>
o/p ASCII File Name : <<FileName>>
Example 1 : I/P File name : Contract_02042009.bin
o/p File name: Contract.txt
Example 1 : I/P File name : Contract_02052009.bin
o/p File name: Contract.txt
Please let us know the ways to achive this.
Thanks,
Chetan