Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filename

Status
Not open for further replies.

Rvir

Programmer
May 16, 2007
18
US
I've generated a file using ETL job on unix box by name A_000_TEST.dat. I see the file in the directory with a right file size but when i try to open
it says could not open the file i tried removing it too but it doesnt seem to work. I know iam missing something but iam not able to figure it out.I created
different file with same data as test.txt.I could open the new file and it has same file size as old file.
 
For the first file, I believe your ETL tool was run under a different ID and it did not give read or execute permission to your ID or group.

In teh second case, you created teh file, so obviously you can do anything with it.

You can send the ls -l output for that filename and some of teh gurus here may find something else and give you some suggestions as well.
 
-rw-rw-r-- 1 rvir etl 400443 Nov 17 10:16 test.dat
-rw-rw-r-- 1 rvir etl 400443 Nov 14 18:29 X_000_TEST_8_ccout.dat

I ran the etl job under my id. If you see rvir is my id and both the files are in same directory and i can open the first file where as when i open second it complains saying it doesnt exists.Both the files have same data expect the names are different.
 
There's a possibility that there could be a special character in the filename that doesn't display. Try doing this...
Code:
ls -lb *.dat
The "-b" option will display non-printable characters in an octal representation "\ddd".

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top