- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftam(FCP) problem during loop!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 10:15 PM
07-23-2003 10:15 PM
ftam(FCP) problem during loop!
When I am trying to copy any Ftam file from one remote host to local host it works but if I want to copy with a loop I can not do so . Giving error "The file is a directory which already exists. It cannot be recreated(Log instance 14856, FTAM error_id 3023 = "Create override not possible"
Can anyone tell me the probable reason for it.And also the solution for it . I am attacting the attachment for your reference.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2003 11:47 PM
07-23-2003 11:47 PM
Re: ftam(FCP) problem during loop!
I think in your script you should test it first.
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 03:04 AM
07-24-2003 03:04 AM
Re: ftam(FCP) problem during loop!
y@datac:/home/y/test1
But the script is not working.
If possible let me know the solution
Thanks
Utpal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2003 04:08 AM
07-24-2003 04:08 AM
Re: ftam(FCP) problem during loop!
I paste the code, for cleariness.
#ftam datac
while true
do
for i in `fls y@datac:/home/y/test1`
do
if [ $i != "/home/y/test1:" ]
then
filecut = `echo $i | cut -c19-27`
echo "processing" $filecut
fcp y@datac:/home/y/test1/$filecut /home/x/ftambackup/$filecut
fmv y@datac:/home/y/test1/$filecut /home/x/ftam2/$filecut
fi
done
sleep 30
done
###########
I have no ftam on my server, so i simply lloked at the code.
look here:
filecut = `echo $i | cut -c19-27`
i tested this single line, with
echo y@datac:/home/y/test1 | cut -c19-27
and the result is
st1
i think that there is a mis-cut.
Try adding a
set -x
as a second line, so we will see what is going on, and let it a second run with debug enabled.
#ftam datac
set -x
while true
do
for i in `fls y@datac:/home/y/test1`
do
if [ $i != "/home/y/test1:" ]
then
filecut = `echo $i | cut -c19-27`
echo "Value of i: "$i
echo "Value of filecut: "$filecut
echo "processing" $filecut
echo "fcp y@datac:/home/y/test1/$filecut /home/x/ftambackup/$filecut"
fcp y@datac:/home/y/test1/$filecut /home/x/ftambackup/$filecut
echo "fmv y@datac:/home/y/test1/$filecut /home/x/ftam2/$filecut"
fmv y@datac:/home/y/test1/$filecut /home/x/ftam2/$filecut
fi
done
sleep 30
done
I think that the filename is mis-interpreted.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2003 11:59 PM
07-29-2003 11:59 PM
Re: ftam(FCP) problem during loop!
Utpal