Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

File export from BTEQ - response (3) by asadali.khan

$
0
0
Much appropriate way of doing this is to check the file if it exists.    -- If condition to check if the files exists; If it does then remove it. .OS IF [ -f directlry_Path/XYX.txt]; then .OS rm -f directory_path/XYZ.txt;  fi;   NOTE: BTEQ doesn't support multi line OS commands. This is how you would use it in bteq   .OS IF [ -f directlry_Path/XYX.txt];  then rm -f directory_path/XYZ.txt; fi;        

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>