Extracting Date part from File Name
Posted: Tue Aug 22, 2006 8:32 pm
Hai,
My file is in /cust/ris/dev/data/rwinbound/pos2/unfid_errors(Unix) verify that POS data has been processed for the file date and terminal id.
File Name : ras.dltx.postrn.20060719.070547.00002973
Date : 20060719 terminal id: 00002973--How to get the date and terminal id for each filename from unix to DS.
Then i have to check it with database for the particular file(By using date,terminal id) is processed or not.
If not processed then move the perticular file to process folder else no need.
Kindly give me your suggestions an how to achieve this.
Regards,
Satheesh.R
My file is in /cust/ris/dev/data/rwinbound/pos2/unfid_errors(Unix) verify that POS data has been processed for the file date and terminal id.
File Name : ras.dltx.postrn.20060719.070547.00002973
Date : 20060719 terminal id: 00002973--How to get the date and terminal id for each filename from unix to DS.
Then i have to check it with database for the particular file(By using date,terminal id) is processed or not.
If not processed then move the perticular file to process folder else no need.
Kindly give me your suggestions an how to achieve this.
Regards,
Satheesh.R