Previous Topic: Setup OperatorsNext Topic: VMTAPE CONFIG File Record Reference


Solutions to Common Problems

Frequently Asked Questions

CA Technical Support has collected some of the questions system administrators frequently ask about CA VM:Tape and included the answers here.

  1. What are the recommended sizes of the CA VM:Tape minidisks?

    CA VM:Tape 1B0=(340)*(# of tapes in library)+ 40%

    In the above formula, the 40% factor allows for DSNB records. Information about the first data set on a tape is recorded in the volume record. The DSNs for additional data sets on the tape are added at the end of the TMC in DSNB records that are half the size of a TMC record.

    CA VM:Tape 1D0=(370)*(# transactions between TMC backups)+ 10%

    Most CA VM:Tape actions that cause the TMC to be altered generate two audit records. Some (such as CATALOG NEXTVOL and CATALOG DROP) may create more.

  2. How often should I run backups of the TMC?

    Take a backup every day, using the VMTBKP utility, immediately after running your daily system backups. If you make sure that your TMC and Audit files reside on separate DASD volumes, then the frequency with which you take backups depends on how much space you can devote to your Audit disk. You never want to risk losing both your TMC and your Audit file at once.

  3. I want to use the VMTBACK EXEC to run the VMTBKP utility. What should I do?

    The VMTBACK EXEC, used to invoke the VMTBKP utility, is provided as a sample on the distribution media. If you intend to use VMTBACK, be sure the VMTLIBR 1B0 work disk is linked read/write. To do this, add a LINK and an ACCESS statement to your VMTBACK EXEC. Modify this EXEC according to your site’s needs.

  4. Running with a shared CMS TMC using the shared TMC/Audit database, does the SCRATCH command need to be run on all shared systems?

    No. The SCRATCH command on any one system updates the TMC for all systems. However, you need to issue the REFRESH command on all other systems to update the Pointer files. For the system on which the SCRATCH command is run, a refresh will be done automatically.

  5. What is the difference between the USERACNT exit and USREXIT4?

    The USERACNT exit lets you modify the accounting field in the TMC. The USREXIT4 user exit creates a CP accounting record.

  6. If two systems (VM1 and VM2) have access to the same tape drives and VM1 has allocated one of them, can VM2 allocate the same drive?

    Yes, unless your CA VM:Tape system is interfaced with the STAM facility or CA MIA. If you are manually sharing drives between systems, you must ensure that a tape drive is never varied online to more than one system at any given time. Without STAM or CA MIA, one system has no way of knowing if another system is using the drive.

  7. If users forget their passwords, how can they delete the password so that they can then create a new one?

    The user cannot. The system administrator or tape librarian must use the EDIT command to change the DSSFLAG field to null. This field specifies whether there is a password. Setting the PASSWRD field has no effect.

  8. Does CA VM:Tape update the TMC error fields in the TMC?

    No. Because of the decentralized I/O in VM/CMS, CA VM:Tape does not receive any information about I/O errors.

  9. I mounted a tape using CA VM:Tape and specified the DSN, but CA VM:Tape did not update the standard label HDR1 record with the fileid.

    It is your responsibility to ensure that the tape labels are updated. You can do this easily using the CMS LABELDEF and FILEDEF commands with an OS simulation application. The label will be written when the data set is opened. CA VM:Tape is concerned only that the volser in the VOL1 label is correct.

  10. When I use the SLMOUNT EXEC to obtain a standard label scratch tape mount, CA VM:Tape does not space forward over the label.

    By default, neither the MOUNT command nor SLMOUNT does any tape positioning. The tape is always at load point when the mount completes. VM puts complete control of the tape in the user’s hands. If there is a write ring, then users can do anything they want. However, if you want automatic tape positioning, a tape positioning exit (USREXIT7) is available on the distribution media received by your site.

  11. How can I change a specific scratch tape that is not currently owned to be owned by CA VM:Archiver, running on user ID VMARCH?

    Use the following format of the MOUNT command:

  12. I added a SERIES record to the VMTAPE CONFIG file. Now, CA VM:Tape won’t even come up. What is wrong?

    Anytime you add, reorder, or delete any SERIES record in the configuration file, you must run the VMTBUILD utility to write a new TMC. You must provide the current TMC as input to these format utilities to retain current TMC data.

  13. Why are there two mount commands, SLMOUNT and VMTAPE MOUNT?

    The SLMOUNT EXEC is provided to facilitate mounting standard label tapes to be used by OS simulation applications. The CMS FILEDEF and LABELDEF commands for the ddname TAPEDATA are automatically executed for you. You should modify this EXEC to meet your site’s requirements.

  14. I just got another VM system and another copy of CA VM:Tape. I want to use the Shared Disk facility to share the TMC and Audit files. Should I use the same CA VM:Tape user ID on both systems?

    If you have a common set of user IDs for both systems, use different user IDs for the CA VM:Tape virtual machines. This way, you can distinguish tapes created on each system because the CSTEP fields will be different. If you use the VMTAPE configuration file record, you can make the two systems function logically as one system. One limitation you should be aware of is that the Pointer file is not shared between multiple systems. If you mount a scratch tape on VM1, you cannot list the tape or mount it by DSN on VM2 until a refresh is done.

  15. Can users be prevented from mounting tapes that are owned by others?

    A user can mount someone else’s tape if the user correctly specifies the volser, the data set name, and the password (if one exists). If the data set name is blank or contains binary zeros, other users cannot mount the tape. A user can also mount someone else’s tape by using only a data set name if the user specifies the OWNEDBY option and the password (if one exists). A user must be authorized to use the OWNEDBY option.

    Also, a system administrator with ANYTAPE authorization can mount any tape.

    If your site is running the CA VM:Secure Rules facility, see the CA Mainframe VM Product Manager Product Interface Guide for more information about how tape mounting can also be controlled with CA VM:Secure rules.

  16. I requested a scratch mount through CA VM:Tape and specified a density of 6250 BPI. Later, I found that the tape actually had been written at 1600 BPI.

    The DEN option on a mount request serves the same function as the DEN option on an allocate request - it assures only that a tape drive capable of the requested density will be allocated to satisfy the mount. It is your responsibility to set the density based on your application. Below are three different ways to make sure the tape is written at the correct density:

    Note that if you use the WAIT option on the MOUNT command, CA VM:Tape issues a TAPE MODESET command with the appropriate density for you.

  17. Does the EDIT command validate the data that you enter?

    No. EDIT verifies that the data format is correct and does the necessary conversion to packed or binary format. However, it does not logically verify the data.

  18. I set up CA VM:Tape to interface with StorageTek's HSC product, and occasionally when I initialize CA VM:Tape, the following messages display:
    VMTHSC687E HSC SERVER STKACS ACSRQ=DEFSCR RC=16       REASON=00001004
    VMTHSC721E HSC SCRATCH POOL INITIALIZATION FAILED
    

    What do these messages mean, and do they indicate a problem?

    These messages mean that the HSC product is already aware of scratch pool definitions. During initialization, CA VM:Tape sends to HSC a list of the scratch pools defined to CA VM:Tape so that the HSC is synchronized.

    These messages during initialization are harmless as long as you have not changed your scratch pools in CA VM:Tape. However, if you have changed scratch pools in CA VM:Tape, you should end the HSC product and restart HSC and then CA VM:Tape.

  19. I want CA VM:Tape to uniformly use ACS drives at my site. During off-peak hours, when there are few tape mounts, CA VM:Tape tends to select the same drive every time.

    CA VM:Tape implements uniform drive use for ACS drives in the same way it does for all other drives. Basically, drives are checked for availability in the order they appear in response to QUERY TAPES (the order they are given by the DEVICE records in the configuration file) starting with the drive immediately after the last allocated drive.

    In addition, the ALLOCATE user exit allows you to further configure drive usage through your own requirements and specifications. This exit contains all information regarding a mount request, and can allow you to reduce or specify the eligible drive list to satisfy the mount.

    For external drives (drives not contained inside an ACS), CA VM:Tape already implements uniform drive use.