[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference hydra::axp-developer

Title:Alpha Developer Support
Notice:[email protected], 800-332-4786
Moderator:HYDRA::SYSTEM
Created:Mon Jun 06 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3722
Total number of notes:11359

3230.0. "Platinum Technology" by HYDRA::AXPDEVELOPER (Alpha Developer support) Mon Feb 24 1997 16:48

    Company Name :  Platinum Technology
    Contact Name :  Sean Kennedy
    Phone        :  805-494-4449 x4462
    Fax          :  
    Email        :  [email protected]
    Date/Time in :  24-FEB-1997 16:48:23
    Entered by   :  Mark Schafer
    SPE center   :  MRO

    Category     :  VMS
    OS Version   :  
    System H/W   :  


    Brief Description of Problem:
    -----------------------------

From:	SMTP%"[email protected]" 24-FEB-1997 16:43:35.46
To:	[email protected]
CC:	[email protected]
Subj:	ftping Alpha Backup and .EXE files

Return-Path: [email protected]
Received: by asimov.mro.dec.com (UCX V4.1-12, OpenVMS V6.2 VAX);
	Mon, 24 Feb 1997 16:43:31 -0500
Received: from pobox1.pa.dec.com by fluid.mro.dec.com; (5.65v3.2/1.1.8.2/19Nov96-0448PM)
	id AA24907; Mon, 24 Feb 1997 16:43:22 -0500
Received: by pobox1.pa.dec.com; id AA19756; Mon, 24 Feb 97 13:43:24 -0800
Received: from gateway2.platinum.com by mail2.digital.com (5.65 EXP 4/12/95 for V3.2/1.0/WV)
	id AA12384; Mon, 24 Feb 1997 13:36:59 -0800
Received: by gateway2.platinum.com; id AA24902; Mon, 24 Feb 97 15:36:25 CST
Received: from mailhub.platinum.com(172.17.26.25) by gateway2.platinum.com via smap (3.2)
	id xma024792; Mon, 24 Feb 97 15:36:03 -0600
Received: from platinum.com by mailhub.platinum.com (8.8.4/)
	id PAA16577; Mon, 24 Feb 1997 15:36:02 -0600 (CST)
Received: from PTI#u#Oakbrook-Message_Server by platinum.com
	with Novell_GroupWise; Mon, 24 Feb 1997 15:34:50 -0600
Message-Id: <[email protected]>
X-Mailer: Novell GroupWise 4.1
Date: Mon, 24 Feb 1997 15:34:42 -0600
From: Sean Kennedy <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: ftping Alpha Backup and .EXE files
Mime-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline

We are trying to setup a corporate ftp server for all Windows, UNIX and
VMS executables.  Everything works except the VMS part.

We are finding it impossible to ftp either backup or .exe files from
OpenVMS to UNIX to PC to OpenVMS.  

Is there a documented method of encapsulating these types of VMS files
before they go into the internet ftp world, so that when they get to the
other end (usually Netscape on a PC) and ftp'ed to the OpenVMS
machine, they are not corrupt?

If you have a server I can ftp to and can obtain a VAX or Alpha
OpenVMS executable from to test I would appreciate it.

Sean Kennedy
Product Manager
Platinum Technology
805-494-4449 x4462

>>> Ken Massey <[email protected]> 02/24/97 10:39am >>>
>----------
>From: 	Ken Massey
>Sent: 	Friday, February 21, 1997 5:28 PM
>To: 	'[email protected]'
>Cc: 	'[email protected]'
>Subject: 	FW: Where to go to get info on the OpenVMS question
>
>----------
>From: 	Ken Massey
>Sent: 	Wednesday, February 19, 1997 3:49 PM
>To: 	'[email protected]'
>Cc: 	'[email protected]'
>Subject: 	I:  Where to go to get info on the OpenVMS question
>
>Hello Sean,
>
>The best way to get the answer you are looking for is to send a query
to the
>Software Partner Engineering Group.  You can contact them either by
email or
>phone.  This service is available to you as part of Platinum's
membership in
>the Association of Software and Application Partners.  Just follow one
of
>these choices.
>
>.../rgds/ken
>
>To obtain technical support for applications running Digital UNIX,
OpenVMS,
>or Windows NT:
>
>       via email:  send requests to [email protected]
>
>       via phone:  Call 800-332-4786, press 4, then 2, then enter
PLATINUM's
>                   SPE PIN #925950.  You will be routed to the Software
>Partner 
>                   Engineering Call Desk.
>
>       Note:  support could be requests
>
>       o  for Product Authorization Keys (PAKs) for any of Digital's
>          operating systems and layered products.
>
>       o  for latest versions of operating systems or layered products
>
>       o  for application problems resolution (bugs, interfacing with Digital
>          products, etc) 
>
>       o  etc
>
>
>
>
>

T.RTitleUserPersonal
Name
DateLines
3230.1HYDRA::AXPDEVELOPERAlpha Developer supportMon Feb 24 1997 17:2248
From:	HYDRA::AXPDEVELOPER "[email protected]" 24-FEB-1997 17:20:49.61
To:	SMTP%"[email protected]"
CC:	AXPDEVELOPER
Subj:	RE: ftping Alpha Backup and .EXE files

Sean,

The trouble is that the VMS record attributes on the file are lost.
Assuming you are using TCPIP Services for OpenVMS (UCX), see the help files:

$ ftp
FTP> help get/fdl

GET

  /FDL

     Optional. Default: no secondary file created.

     Creates a secondary file with the copied file's OpenVMS RMS
     record attributes (if you previously issued a PUT/FDL command).
     The SET TYPE command determines the type of file:

     o  Specifying ASCII results in a sequential file with variable
        records. Select this type when transferring ASCII text files.

     o  Specifying IMAGE results in a sequential file with fixed
        records of 512 bytes. Select this type when transferring
        non-ASCII files such as executable image files.

Similarly, see the help for the PUT command.

With this information, you should be able to put files on your server:

ftp> put/fdl image.exe

and have others copy  IMAGE.EXE and IMAGE.EXEFDL from the server
and convert them back on their VMS systems:

ftp> get/fdl image.exe


Please let me know how this works.

Mark Schafer



3230.2How to ftp (w/o hosing RMS file/record attributes)...AMCUCS::SWIERKOWSKIQuot homines tot sententiaeMon Feb 24 1997 17:5859
Greetings!

  Since the customer specifically mentioned BACKUP savesets, I suspect that
the files aren't truly "corrupt" when they arrive (via ftp) on a U*ix/Windows,
but instead got their file attributes all set back to what RMS refers to as
"Sequential" (1 of 3 possible file orginizations) w/ "Fixed-Length, 512-byte 
records" (1 of 4 possible record formats).  BACKUP savesets (created on disk)
are usually "Sequential", "Fixed-Length, 32256 byte records" and ftp chunks 
everything up into 512-byte pieces.

  You will have similar problems whenever you ftp "Indexed" files or "Relative"
files from OpenVMS/RMS to a non-OpenVMS destination.  FWIW, transfer of non-
Sequential files directly between two OpenVMS systems (w/ UCX installed) doesn't
have a problem, you only get into trouble when the file being ftp'ed from the 
OpenVMS system lands on another operating system whose file system doesn't know
a thing about the multiple file organizations/record formats that RMS allows.

  There are two approaches to solving this:

1) Convert any OpenVMS RMS file with File/Record characteristics other than the 
   ones noted above to a file with those characteristics (FWIW, a lot of "com-
   pression" tools do this for you), "ftp" the file to wherever and then re-
   convert it back a file with the original file characteristics.

   The nice part about using this technique is that by compressing the file
   first, it transfers quicker (since it's usually smaller) and the compressor
   creates a simple Sequential file which doesn't get hosed when it lands on
   a target (or intermediate) system that doesn't support all the file organiz-
   ations/record formats supported by RMS.  Running the decompressor (once the 
   file makes its way back to (presumbly) the final target OpenVMS destination
   usually restores the the original RMS file attributes.

2) If you chose not to bother with compressing things like savesets, indexed
   files, etc. before ftp'ing them to a non-OpenVMS target, then you can use
   UCX's FTP "PUT" command with the "/FDL" qualifier to create a secondary
   file with the RMS file/record attributes that can later be used by the
   CONVERT Utility to restore the file's original RMS file/record attributes.
   Fire up ftp on a system with UCX installed, and see the help for "/FDL" and
   the examples.

  I assume the customer realizes that the actual saveset is pretty useless on
any system other than OpenVMS, since to my knowledge only the "BACKUP" Utility
knows what to do with the file.

  As far as transferring .EXE files, I'm surprised the customer is having any
trouble, since the LINKER creates these and the file/record attributes on image
files are already correct for transfer to a non-OpenVMS system (at least on
OpenVMS VAX).  In any event, if the source file (on OpenVMS) is anything *other*
than "Sequential" and "Fixed-length 512 byte records", you need to follow one
of the procedures outlined above, cheers...



						Tony Swierkowski
						Digital Equipment Corporation
						Software Partner Engineering
						Palo Alto, California
						(415) 617-3601
						"[email protected]"
3230.3I use "SET FILE/ATTR=LRL="HYDRA::NEWMANChuck Newman, 508/467-5499 (DTN 297), MRO1-3/F26Wed Feb 26 1997 09:1215
What I do with BACKUP savesets is the following:

1)  Use DIRE/FULL to find the length of the records (e.g., 32256 bytes)

2)  Use "SET FILE/ATTR=LRL=512" to change the file attributes

3)  Use FTP in IMAGE mode to transfer the file.

4)  Use "SET FILE/ATTR=LRL=" to restore the correct record length (obtained
    in step 2)

The advantage of this over CONVERT is that it's faster and doesn't create a
second copy of the file.

								-- Chuck Newman