- 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
Discussions
Discussions
Forums
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
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-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
- « Previous
-
- 1
- 2
- Next »