The MCP does not allow a volume with KIND = CD to be added to the volume library.
COPYWRITE uses KIND=PACK to represent CD-ROM volume archives. Since a DISK or PACK disk family cannot have a SERIALNO with alphabetic characters, a serial number convention which uses an alphabetic character in the serial number can be used to differentiate between a CD-ROM volume and a disk or pack family.
The COPY&BACKUP command adds backup references to a CDROM volume archive, before the archive has been burned onto CD media. The Cataloging function is associated with the destination volume being created.
The COPY&CATALOG command adds backup references to a CDROM (or TAPE or DISK) volume archive, after it has been created. The Cataloging function is associated with the source volume which has been created. The destination volume is not relevant to the Cataloging actions, and is often NULL.
The ADD&CATALOG command is almost identical to the COPY&CATALOG command.
This feature is provided to allow FamilyManager and Flex to to access CD Volumes on different families.
When FamilyManager is used to backup files to CD Images, the CD Images are stored on the Family specified by the FLEX_CWIMAGE configuration variable established when FamilyManager was installed.
When Flex Inquiry is used to load a Non-Resident file which is backed up on a CD Image, it assumes that the CD Image is located on the FLEX_CWIMAGE Family.
CopyWrite allows the creation of a Hard Link to a CD Image.
A Hard Link is a Non Resident File Entry on a Family, which contains a Backup Reference to another Family on which the actual file is Resident.
This feature allows FamilyManager and Flex to assume that CD Images are on the FLEX_CWIMAGE Family, but have them actually resident somewhere else.
In CopyWrite, a Hard Link is created by Label Equating the Internal File Name, CDIMAGEHARDLINK and specifying the FAMILYNAME on which the Hard Link should be created.
WFL Task T;T(File CDImageHardLink(FamilyName=CDImage)); Copy A to Fred(CD,HostName=Local)[T] #RUNNING 4614 #BOT 4615 (NFT)WFLCODE #BOT 4616 (NFT)FILE/TRANSFER #BOT 4617 (NFT)FILE/TRANSFER/SERVICES #4617 Metalogic CopyWrite Version 50.500.01 was compiled at 16:00:6 on the 30th April 2004 (MCP 48.189.9445) #4617 FRED will be an A Series LIBRARY MAINTENANCE Volume #4617 <1> (NFT)A copied to FRED #4617 Formatting CDROM Volume FRED #4617 PK504 (NFT)FRED REMOVED ON CDIMAGE #4617 Hard Link (NFT)FRED created on CDIMAGE to DEV PK [000506] #4617 FRED in (NFT)FRED ON DEV prepared by NFT and published by NFT using Metalogic COPYWRITE #4617 ----- Summary for LIBRARY MAINTENANCE----- #4617 Created 1 files and 1 directory. #4617 Transferred 6120 bytes to the CDROM volume image. #EOT 4617 (NFT) (NFT)FILE/TRANSFER/SERVICES #EOT 4616 (NFT) (NFT)FILE/TRANSFER #EOT 4615 (NFT) (NFT)WFLCODEThe CD Image is created on the FamilyName of the Task, and the Hard Link is created on the FamilyName specified by the CDIMAGEHARDLINK Label Equation.
LFiles Fred on CDImage : Cat #RUNNING 4619 #? ON CDIMAGE (NFT) : DIRECTORY . FRED : PROMBURNERDATA NON-RESIDENT CATALOG ENTRY 1 (NON-RESIDENT) PROMBURNERDATA TIMESTAMP=05/03/2004 09:46:02 CYCLE=1 VERSION=0 LASTACCESSDATE =05/03/2004 09:46:01 BACKUP #1 IS PACK, SERIALNO 000506 BACKUP #2 IS PACK, SERIALNO 000506FamilyManager provides syntax which allows files to be backed up to a CD Image on a specific family, and internally it uses this label Equation to create the hard Link back to the FLEX_CWIMAGE family.
When CopyWrite is called to copy a File from a CD Image, and the CD Image it finds first is actually a Hard Link, CopyWrite chases the link to the Resident CD Volume, and copies the file from there.