Quantcast
Channel: SCN : All Content - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 4013

try to create file in location

$
0
0

Please help me with command fix,

 

I am trying to create a file after cycle completing in location.

 

Below is the command using in the script :

 

print('Attempting to create [$GV_OUTBOUND_DIR][$GV_FILE_NAME]');

print(exec('/bin/sh','-c "touch [$GV_OUTBOUND_DIR]/[$GV_FILE_NAME]"',8));

 

 

Variables :

 

$GV_OUTBOUND_DIR] - added path O:\Project\++Projects\Cube\ETL_Unit_test


[$GV_FILE_NAME] - File name with extension, eg: FILEGEN.txt



Error Message:



25023353486624PRINTFN6/20/2016 2:37:37 AMAttempting to create O:\Project\++Projects\Cube\ETL_Unit_testFILEGEN.txt
25023353486624PRINTFN6/20/2016 2:37:37 AM1: touch: cannot touch `O:Project++ProjectsCubeETL_Unit_test/FILEGEN.txt': No such file or directory





Viewing all articles
Browse latest Browse all 4013

Trending Articles



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