- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: copy/ftp issue
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
03-11-2009 11:42 PM
03-11-2009 11:42 PM
copy/ftp issue
I have two Alpha server(ES40&GS1280) running OpenVMS8.3.I copy some files from GS1280 to ES40 using copy/ftp in a script.
The script run successfully.But I find one of the files is broken,other files are OK.
All files are .COM file and no more than 30K.TCPIP version is 5.6ECO-2.If I do not run script and only run copy/ftp command,everything is OK.
Does anyone give some comment?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 12:23 AM
03-12-2009 12:23 AM
Re: copy/ftp issue
any recent changes ? network errors ? is it reproducable - different files affected or the same ones. any error messages ? also posting up the procedure involved may help everyone here to help you much faster.
fwiw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 01:31 AM
03-12-2009 01:31 AM
Re: copy/ftp issue
Make sure that sys$output and sys$error are not directed elsewhere or post it too.
WIm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 06:06 AM
03-12-2009 06:06 AM
Re: copy/ftp issue
source file:
============
$ dir WAIT_FOR_FILES.COM;1/full
Directory DSA101:[TOFF00.DEV.CODE.DCL]
WAIT_FOR_FILES.COM;1 File ID: (69373,11,0)
Size: 21/111 Owner: [NGTS_DEV]
Created: 22-JUN-2007 00:52:00.95
Revised: 11-FEB-2009 11:45:37.73 (6)
Expires:
Backup: 17-FEB-2009 17:55:35.44
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 111, Extend: 0, Global buffer count: 0, No version limit
Record format: Variable length, maximum 0 bytes, longest 80 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:, World:
Access Cntrl List: None
Client attributes: None
Total of 1 file, 21/111 blocks.
$
============================================
Target file:
============
$ dir WAIT_FOR_FILES.COM;6/full
Directory TOOLS$:[DELIVERY.SYSTEM_INTEG.DCL]
WAIT_FOR_FILES.COM;6 File ID: (3185,105,0)
Size: 10KB/152KB Owner: [NGTS_99]
Created: 9-MAR-2009 11:00:10.52
Revised: 9-MAR-2009 11:00:10.52 (5)
Expires:
Backup:
Effective:
Recording:
Accessed:
Attributes:
Modified:
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 304, Extend: 0, Global buffer count: 0
No version limit
Record format: Variable length, maximum 0 bytes, longest 80 bytes
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:, World:
Access Cntrl List: None
Client attributes: None
Total of 1 file, 10KB/152KB
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 06:17 AM
03-12-2009 06:17 AM
Re: copy/ftp issue
What is "the problem" (last reply)
What is "broken" in "I find one of the files is broken,"
How do you know? What is broken about it?
Is there an error? Tell us about it!
Better still. Copy & Paste!
The DIR/FULL looks fine and similar except that one process was set to report in Kilobytes instead of the traditional blocks which will make serious analysis just a little more difficult.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 06:19 AM
03-12-2009 06:19 AM
Re: copy/ftp issue
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 06:40 AM
03-12-2009 06:40 AM
Re: copy/ftp issue
Hein's point is indeed well taken. High water enabled is indeed the default (verified) on 6.2.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 06:49 AM
03-12-2009 06:49 AM
Re: copy/ftp issue
My apologies, somehow my previous item ended up in the wrong thread.
The moderators may consider this a request to delete both this and my previous entry.
- Bob Gezelter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 07:43 AM
03-12-2009 07:43 AM
Re: copy/ftp issue
Some suggestions around how to pose a question:
http://www.catb.org/~esr/faqs/smart-questions.html
Asking questions is as much a learned skill as answering them, in my experience. And both are worth cultivating.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 01:43 PM
03-12-2009 01:43 PM
Re: copy/ftp issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 04:38 PM
03-12-2009 04:38 PM
Re: copy/ftp issue
Thanks a lot.
"Broken" means contents after line 167 are missing and leave there blank.
Source file:
===============
$ REAL_ISIX = F$EXTRACT(0, 5,ISIX) --->line 167
$ @TOFF$DCL:GET_CLUSTER "I:''REAL_ISIX'"
......
Target file:
==============
$ REAL_ISIX = F$EXTRACT(0, 5,ISIX) ---->line 167
$ @TOFF$DCL:GET_CLUSTER "
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 04:46 PM
03-12-2009 04:46 PM
Re: copy/ftp issue
Ok. Thanks. Just in case you have other problems in the future please ask yourself how on earth any reader to have guessed that?!
Now line 167 is probably an effect, not a cause. The cause is more likely to be the BLOCK + OFFSET for the NEXT line.
Try DUMP/RECORD=(STAR=166,COUNT=5) on both systems. There will be an 'RFA' which is BLOCK+BYTE.
Now use the BLOCK for $DUMP/BLOCK=(START=x,COUNT=1) /OUT=x.txt
If you can not figure out the contents, then attach good + bad dump to a future reply as a .TXT.
If you enjoy those puzzles add a /HEADER to the DUMP and check for the EXACT EOF BLOCK and BYTE and such.
OR...
Just ZIP up ALL the files in one container (optionally with -V ), transfer and unpack.
So much easier!
And uh, get rid of that good gor nothing KB reporting. It's just confusing for problems like this. I know, 1KB = 2 blocks, but why
make it hard on yourself and us?
Cheers,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 07:23 PM
03-12-2009 07:23 PM
Re: copy/ftp issue
Did you get an FTP log with some sort of dodgy status reported in it?
FWIW, I would copy over all the "real" files and once that's done then copy over the zero-length setinel file copy_complete.flag (or whatever)
The target platform then just waits for the presence of the sentinel file to tell it that the other files have been successfully copied.
'Cos polling is anathema to me I use the attached mechanism for determining when the sentinel has arrived (or timeout and report problems).
Cheers Richard Maher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2009 07:37 PM
03-12-2009 07:37 PM
Re: copy/ftp issue
Obviously won't help you if the destination node is not VMS but attached is the code that I've used to tell me when a file arrives in a directory on VMS.
FWIW, there is/was a product (that I have nothing to do with) that I think is was called something like Connect Direct (Got LiveConnect in my head at the moment so I could be wrong) It used to check such transfers by polling I believe?
Cheers Richard Maher
PS. Just a shame that in 2009 FTP is still the middleware of NO-choice for VMS customers :-( If only they were able to *integrate* their rich herritage of data and business rules, resident on their VMS boxes, with their *nix and Windows platforms then they wouldn't have to rely on dodgy data replication.
"Real-time integrated access to VMS Applications, Business-Rules, and Data" - Now there's a thought!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2009 02:40 AM
03-13-2009 02:40 AM
Re: copy/ftp issue
For that reason, I was always do the PUT to a .TMP file first and then do a RENAME as part of the script.
Eg:
put craig.dat craig.tmp
rename craig.tmp craig.dat
That way if the PUT fails the RENAME doesn't occur. (Assuming ERROR_LEVEL is set to SUCCESS)
Craig