Path: news.mitre.org!blanket.mitre.org!philabs!newsjunkie.ans.net!newsfeeds.ans.net!streamer1.cleveland.iagnet.net!iagnet.net!news.maxwell.syr.edu!news.magicnet.net!nntp1.jpl.nasa.gov!netline-fddi.jpl.nasa.gov!ulsfct2 From: khee.chan@jpl.nasa.gov (Khee Chan) Newsgroups: comp.os.vms Subject: Re: CD Writing Date: Fri, 12 Dec 1997 00:21:12 GMT Organization: Jet Propulsion Laboratory - Pasadena CA Lines: 148 Message-ID: <66q01p$5ja@netline.jpl.nasa.gov> References: <34829297.63DEF54A@ubs.com> Reply-To: khee.chan@jpl.nasa.gov NNTP-Posting-Host: ulsfct2.jpl.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Newsreader: News Xpress 2.01 In article <34829297.63DEF54A@ubs.com>, chris.clifford@cliffcomm.com wrote: >We have an application which we wish to distribute on CD. Our CD writer >is connected to a Windows-NT system as we only have CD writing software >for this platform. Sounds like a similar config to ours. >2. Is there any method of copying the backup savesets to the PC and >writing them to CD so that they retain the correct record format, etc. Yes. Done it myself a few months ago. I took in the advice from this newsgroup and came up with the following step by step procedure to do it. ========================================================================= CREATING OPENVMS ODS-2 (FILES-11 LEVEL 2) CD-ROMS Khee Chan 11 December 1997 Overview Steps 1 to 3 only need to be performed once. See expanded procedure where appropriate for more details. 1. Install the VDDRIVER virtual disk driver. See expanded procedure. 2. Create continguous container file on a disk for the CD-ROM image virtual disk and set some file attributes (can take quite a while). See expanded procedure. 3. Assign a virtual disk device to the container file. See expanded procedure. 4. Initialise the virtual disk - use the desired CD-ROM label as the volume label for the disk and mount it. See expanded procedure. See expanded procedure. 5. Copy files to the virtual disk. 6. Dismount the virtual disk. 7. FTP the virtual disk container file to the CD Writer host PC (in binary mode). 8. Specify parameters for the CD writing software to write CD using an existing image file and the FTPed container file as this image file. Select CD-ROM Mode 1 and ‘close session on completion’. Be sure to minimise disk activity on the PC controlling the CD Writer - so disable or shutdown mail clients, ftp servers, Norton System Doctor, virus scanners, screen saver etc. Expanded Procedure Steps 1.1 to 1.3 require system privileges. 1.1. Obtain the VDDRIVER (by Glenn Everhart) distribution kit from the OpenVMS Freeware CD-ROM or from any of the OpenVMS freeware archive sites or from DECUS. 1.2. Build VDDRIVER and ASNVDM6 from the VDS_VAX.ZIP archive using the command procedure VDMAKE.COM. The command procedure from VDS_VAX.ZIP from the OpenVMS Freeware CD-ROM v3.0 had to be modified slightly to work correctly - the filenames starting with ‘asnvd’ referred to in the command procedure should be changed to ‘asnvdm6’. 1.3. Copy VDDRIVER.EXE, ASNVDM6.EXE and ASNVDM6.CLD to SYS$SYSTEM. 1.4. Install the virtual disk device driver thus (for OpenVMS/VAX): $ MCR SYSGEN SYSGEN> CONNECT VDA0: /NOADAPTER /DRIVER=SYS$SYSDEVICE:VDDRIVER.EXE SYSGEN> CONNECT VDA1: /NOADAPTER /DRIVER=SYS$SYSDEVICE:VDDRIVER.EXE ... for as many virtual disk devices as required ... 1.5. Verify the installation thus: $ SHOW DEVICE VDA 2.1. If a disk drive is to be dedicated for this task, the file system files can be placed at the beginning of the disk to maximise the amount of contiguous space available on the disk: $ INITIALIZE /INDEX=BEGIN /VERIFY DKA600: 2.2. Create the contiguous container file on a disk drive which has sufficient space. The number of blocks allocated for the container file must be a multiple of 4 (for 2048 byte CD-ROM sectors) and 3 (for the default cluster size for an OpenVMS disk of around 650Mb). $ COPY NL: DKA600:[000000]CDIMAGE1.DSK /ALLOCATE=1331196 /CONTIGUOUS 1331196 (== 681572352 bytes = 649.998 Mb) is the maximum number of blocks for a 74 minute CD-ROM which is a multiple of 12. 2.3. Set the end of file marker to the end of the allocated space of the container file, set some attributes to protect it and make it suitable for binary mode FTP transmission. $ SET FILE DKA600:[000000]CDIMAGE1.DSK /END /NOBACKUP /NOMOVE - /NOSHELVE $ SET FILE DKA600:[000000]CDIMAGE1.DSK - /ATT=(RFM:FIX,RAT:NONE,LRL:512,MRS:512) 2.4. Repeat steps 2.2 to 2.3 for as many virtual disks as required. A different name is required for each new container file. 3.1. If the ASNVDM6 command definition has not already been loaded, then do $ SET COMMAND SYS$SYSTEM:ASNVDM6 3.2. Assign the container file to the virtual disk device thus: $ ASNVD /ASSIGN VDA0: DKA600:[000000]CDIMAGE1.DSK 3.3. Verify the assignment thus: $ ASNVD /REPORT VDA0: 3.4. Repeat steps 3.1 to 3.3 for as many virtual disks as required. A different name is required for each new container file. 4.1 $ INITIALISE /NOVERIFY VDA0: $ MOUNT VDA0: References [1] Writng CDs for VMS - Summary Christof Zeile , article posted to comp.os.vms newsgroup on 30th January 1997 [2] Writing ODS-2 CD-ROM from PC Nigel White et al, thread on comp.os.vms newsgroup from around 24th to 30th April 1997 [3] Announcing CDWRITE13_VMS Eberhard Heuser-Hofman , article posted to comp.os.vms newsgroup on 4th March 1997 [4] OpenVMS Freeware V3.0 CD-ROM Digital Equipment Corp, November 1996, part number AG-QSBXB-BE (also available at the URL: http://www.openvms.digital.com/openvms/freeware/cd.html) ========================================================================= Good luck! ----- Khee Chan Science Systems (Space) Ltd., Ulysses Flight Dynamics M/S 264-114, 4800 Oak Grove Drive, Pasadena CA 91109, USA khee.chan@jpl.nasa.gov kchan@esoc.esa.de -----