Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Quick query on error handling

Hi,

I am getting the daily input file in .csv format, suppose today i have received the file in other format(like .csv or .txt) then my script should not trigger.

Could you please advise if i can apply this error handling validation at script level.

Thanks in advance!!

Rohit

3 Replies
ahaahaaha
Partner - Master
Partner - Master

Hi,

May be to use in the code of script filename() function for verification name and extension of file?

Regards,

Andrey

avinashelite

which file formats your loading in the script ? how you are identifying the old and new .csv?

Not applicable
Author

Old and new file(.csv format) can be segregated with the timestamp, this can be use to identify the old and new file.

Thanks,

Rohit Kumar