Error : cat: 0652-050 Cannot open


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Error : cat: 0652-050 Cannot open
# 1  
Old 02-10-2012
Error : cat: 0652-050 Cannot open

After processing around 300 files , I am getting the below error.Please help me to resolve it
Code:
cat: 0652-050 Cannot open /dir1/dir2/dir3/dir/abc.txt
mv: 0653-401 Cannot rename /dir1/dir2/dir3/dir/abc.temp to /dir1/dir2/dir3/dir/abc.csv:
.
.
.

how to avoid it.

because I am getting continuously files in my directory for the whole day.

Moderator's Comments:
Mod Comment USe code tags please, see PM.

Last edited by zaxxon; 02-10-2012 at 02:51 PM.. Reason: code tags
# 2  
Old 02-10-2012
It probably means what it says, it can't open them.

As for why it can't, without seeing what your code's actually doing, I couldn't possibly say.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cannot open txt file in UNIX using cat utility

Hi, I am not being able to open txt files with 'cat'. One thing to mention is, the filenames start with #. I guess one can have a unix filename that starts with a special/wildcard character. I have filenames starting with @ and they are opening perfectly with cat. (5 Replies)
Discussion started by: Subhasis
5 Replies

2. UNIX for Advanced & Expert Users

cat can not open file

Hi All, I have stumbled upon very unique issue. In my script I am doing cat file and then greping and cutting so as to assign the value to variable. My file is, <mxc_tl_load_extractdata_prop.bsh> DB_USER=test_oper hostname=xxx FTP_USER=test1_operate MAIL_LIST=xxx@yyy.com... (1 Reply)
Discussion started by: paragd
1 Replies

3. Shell Programming and Scripting

Read files, lines into array, cat vs open

Hi Everyone, I have a file: a.txt a,b,c,d,6,6,6 1,2,3,d,6,6,6 4,5,6,6,6,6,6 #!/usr/bin/perl use warnings; use strict; my @array = (); ### Load file into array for my $i (split '\n', `cat /tmp/a.txt`) { push @array, ; } It works. But my a.txt have 1million lines, and... (2 Replies)
Discussion started by: jimmy_y
2 Replies

4. AIX

error : pg: 0652-122 Cannot write to the temporary file

Hi All, I'm getting this error when I use "pg". /tmp is not full and the permission is correct. root@axappk01::/home> hostname|pg pg: 0652-122 Cannot write to the temporary file. Please advise. (6 Replies)
Discussion started by: fara_aris
6 Replies

5. UNIX for Dummies Questions & Answers

Difference between cat , cat > , cat >> and touch !!!

Hi Can anybody tell the difference between Difference between cat , cat > , cat >> and touch command in UNIX? Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies

6. UNIX for Advanced & Expert Users

find: 0652-019 The status on /interfaces/eu3/hmsl/EBS/20070722 is not valid.

I am getting this error when i issue find command. Any advice. Regards, Vishal (0 Replies)
Discussion started by: vishal_ranjan
0 Replies

7. AIX

pg: 0652-121

Hello, Whenever a non-root user try to run any cmd with |pg on a AIX 5.1 system it returns: pg: 0652-121 Cannot create the temporary file. Does anyone knows what this is about? This doesn't occur with root account. Obrigado (2 Replies)
Discussion started by: maraquez
2 Replies
Login or Register to Ask a Question