DFY$VMSCD V1.8 (c) Doffy 1998 1998.01.19. information: Hungarian: Dósa István (Doffy) APEH Nógrád megyei Igazgatósága Salgótarjan Kassai sor 44. email: cj5018@mail.kerszov.hu English: István Dósa (Doffy) Tax Office, Nógrád county Salgótarján Kassai sor 44. email: cj5018@mail.kerszov.hu First step: =========== DFY$VMSCD_A.ZIP and DFY$VMSCD_V.ZIP compressed on VMS with ZIP. UNZIP (for VAX or ALPHA) you can download from Digital web pages. What is DFY$VMSCD: ================== This program build CD image file in FILES11B file format for VMS. Similar as "mkisofs" for UNIX systems. After writing image file to CD, you can use as other VMS CD-s, but it is your edition. If run program without parameteres, the displayed help: DFY$VMSCD v1.8 FILES-11B CD image file builder (c) Doffy 1998 Command syntax: DFY$VMSCD "source path" "dest. file" "label" [boot:"boot file"] [VERBOSE] "source path" must be defined in full file format (with device name). If select "verbose", (or "v") then display additional working information. If only source path defined, then size test performed without file creating. Example: DFY$VMSCD $2$DKB0:[TOCD] $2$DKB100:[IMAGE]CD.ISO DOFFY_CD VERBOSE In this example copying all version of files and directories under $2$DKB0:[TOCD] to $2$DKB100:[IMAGE]CD.ISO as CD image file and set volume label of CD to DOFFY_CD. Linked files (SET FILE/ENTER) supported. If "boot file" defined, then create Alpha boot disc. "boot file" define with directory name (example: BOOT:[TOCD.SYSEXE]APB.EXE). The specified source directory is used on CD as [000000]. If only source path defined, then size test performed for best use the CD capacity and no output file created. In this case the program write out only number of files and calculated image size. The created image file size can be maximum 1344288 blocks (74 minutes CD). System files in CD root directory created by DFY$VMSCD after reading needed information of source files. DFY$VMSCD copying all versions of files and directories. Support linked files (created by SET FILE/ENTER command). CD label can maximum 12 charaters. If run DFY$VMSCD in source root and below directories you must have RWED privileges and for all files below you must have RE privileges (build image file recomended as SYSTEM user). If running DFY$VMSCD, then source files and directories don't modify! To use DFY$VMSCD you must - copy it to SYS$SYSTEM and use MC DFY$VMSCD or - create symbol DFY$VMSCD == "$ SYS$LOGIN:DFY$VMSCD.EXE" if DFY$VMSCD located in your login directory. Two version of file exists: DFY$VMSCD_A.EXE - for Alpha systems DFY$VMSCD_V.EXE - for VAX systems (Alpha and VAX versions compiled from identical source) DFY$VMSCD writed in MACRO-32 and compiled on VMS 6.2 (VAX) and VMS 6.2-1H3 (ALPHA). Tested hardware: Alpha 3000-600, CPU 175MHz, 128Mb RAM, VAX 3400, 36Mb RAM Alpha 8400 model 5/300 On 3000-600 Alpha system build image for maximal CD size approx. 12-17 minutes. How to write CD: ================ CD write tested with EasyCD Pro for Windows 95. Hardware: P100 processor 32Mb RAM HP 4325 CD writer Adaptec 2940U SCSI card - The created file you can write to CD, after copying to local winchester. - The image file not standard ISO file, but it must write to CD as ISO file. EasyCD identify file as "raw data", it is correct. - If you write you must select "disc at once" option for best result and must write CD in MODE 1! - If you write FILES11B file system, then you can't use multisession! This CD can be read only on VMS. How create image file directly on PC: ===================================== You can create image file directly on PC if on your system not enough space available. Create image file as describen in next steps: 1. start on PC Pathworks software with DECNET protocol. 2. change dir to working directory: CD \CDWORK 3. run FAL program from Pathworks clients share \PCAPP. 4. test connection on server: - if your PC have DECNET address 12.5 then type command on server: DIR 12.5:: it must list contents of working directory (CDWORK) 5. run DFY$VMSCD by next example: DFY$VMSCD $2$DKB0:[TOCD] 12.5::CD.ISO DOFFY_CD VERBOSE In this case image file (CD.ISO) created directly on PC (DECNET address 12.5), in working directory (\CDWORK). How testing before write to CD: =============================== If you have empty disk in system, then mount it as foreign disk and copy generated file to it. After copying dismount and mount as normal ODS-2 disk. Now you can compare original files and result. For example if empty disk is $1$DUA1: then next steps: 1. generate image file: MC DFY$VMSCD $2$DKB0:[TOCD] $2$DKB100:[IMAGE]CD.ISO DOFFY_CD VERBOSE 2. mount disk as foreign: MOUNT $1$DUA1: /FOREIGN 3. copy image file: COPY $2$DKB100:[IMAGE]CD.ISO $1$DUA1: Warning!!! All data loss on this disk! 4. dismount this disk: DISMOUNT $1$DUA1: 5. mount as ODS-2 disk MOUNT $1$DUA1: DOFFY_CD /OVERRIDE=SECURITY 6. compare files: BACKUP/COMPARE $2$DKB0:[TOCD...] $1$DUA1:[000000...] If compare finish without errors then you can write CD! After testing the disk must be initialized for future use. DFY$VMSCD minimize size of INDEXF.SYS on CD, no empty file headers for create files. If you have any problem, please send email! If you have not problem, please send email, I want known where my program used succesfuly :-) (please write about tested hardware)! Corrected Errors: ================= v1.8 - no errors, but "size test" mode included v1.7 - the created image file size allways multiple of 2048 (Gear software can write image file if size multiple of 2048 bytes) - some special files can damage datastream in image file and part of data can't reached correctly (file header like for QUORUM.DAT file) v1.6 - Alpha boot now supported (for VAX not supported) v1.5 - source path [000000] now supported - system disk archived with errors (QUORUM.DAT, SECURITY.SYS not will be copied) - use less I/O if counting files and building 000000.DIR (more quickly run) v1.3: - indexed files copied bad and at this point data stream not correct. - relative files copied bad and at this point data stream not correct. v1.2: - if size of any source file equal 0 and allocated size greater then 0, then in generated image file data stream calculated bad, can't read properly all next files on CD. - if in file header of source file "first free byte" field equal 0, then can allocate to many blocks for this file. - linked files allocated space two times. - if original of linked files not below "source path", then program exit. Thanks for help: ================ - my wife (2 mount patience) - Michael N. LeVine, Naval Air Weapons Station (FILES-11B info in JUICER) - Katherine Cochrane, CD Information Company (CD info and publication) - Tóth László, APEH (testing) - Rákos Zoltán, APEH (testing) - Pink Floyd (accompaniment) - Tears for Fears (accompaniment) - Enya (accompaniment) - Led Zeppelin (accompaniment) - Yello (accompaniment) - Locomotiv GT (accompaniment)