cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Problem

 
Lee12
Occasional Advisor

FTP Problem

Hi,

I am trying to ftp a large file (310406 blocks
) from Open VMS to a HP UX server
But I am getting the following error message

"-RMS-F-IRC, illegal record encountered; VBN or record number = 248924"

Any help welcome

Thanks

Leisa
10 REPLIES 10
Richard Whalen
Honored Contributor

Re: FTP Problem

Do you know what TCP/IP stack your OpenVMS system is using? (TCP/IP Services, MultiNet or TCPware).

What format is the file?
$ dir/full file.ext
marsh_1
Honored Contributor

Re: FTP Problem

leisa,

have you run an anal/rms against the file to check for any corruption in the file.

Karl Rohwedder
Honored Contributor

Re: FTP Problem

A 'help/message IRC' gives a nice explanation and some action hints.

regards Kalle
Robert Gezelter
Honored Contributor

Re: FTP Problem

Leisa,

What format is the file? Is the transfer being done for archiving, or some other purpose?

HP UX (and other *IX) systems generally only support binary or text files. If this is a keyed or other RMS supported format, it will need to be converted.

If the file is simply being archived, I generally suggest that clients use OpenVMS BACKUP to create a saveset, and then use the OpenVMS version of ZIP (with the "-V" switch to preserve file attributes) before transfer using FTP. It prevents file formats from being corrupted.

ZIP archives should, of course, be transfered as binary files.

- Bob Gezelter, http://www.rlgsc.com
Kumar_Sanjay
Regular Advisor

Re: FTP Problem

Lee,

Is this new setup, are transfering the first time from Hp-UX to VMS?
how about VMS to VMS?

Your inputs will be much appreciated.

Regards.




























Lee12
Occasional Advisor

Re: FTP Problem

Hi,
The file format is
Record format: Variable length, maximum 512 bytes, longest 1 byte
Thanks

Lee12
Occasional Advisor

Re: FTP Problem

Hi
Also ran
anal/rms YTKVOL1.GLS;1
RMS FILE ATTRIBUTES

File Organization: sequential
Record Format: variable
Record Attributes: carriage-return
Maximum Record Size: 512
Longest Record: 1
Blocks Allocated: 310410, Default Extend Size: 0
End-of-File VBN: 310407, Offset: %X'0000'
File Monitoring: disabled
File Length Hint (Record Count): -1 (invalid)
File Length Hint (Data Byte Count): -1 (invalid)
Global Buffer Count: 0
*** VBN 2: Record exceeds max record size.
Unrecoverable error encountered in structure of file.


The analysis uncovered 1 error.
I am not sure what this is
Thanks for any help given
Volker Halle
Honored Contributor

Re: FTP Problem

Leisa,

this file is a MUMPS database file, right ? Not sure, whether this can be correctly copied via FTP to a non-VMS system. Can the file still be opened from MUMPS (or Cache as it is called now) ?

If you want to copy the file for archiving purposes, create a BACKUP saveset first, then copy the backup saveset.

Volker.
Volker Halle
Honored Contributor

Re: FTP Problem

Leisa,

if your search in Google Groups for FTP RMS-F-IRC, you'll find some entries, which describe similar problems when trying to FTP mumps database files and using the TCPWARE TCP/IP product.

Volker.
Wim Van den Wyngaert
Honored Contributor

Re: FTP Problem

Just checked a GLS file of my MUMPS env. Same problem in ana/rms. Dir/fu says that maximum record length is 255 while this is not true. I did a set file/at=mr=0 and ana/rms no longer gave the error.

Wim
Wim