Previous Topic: ParametersNext Topic: Return Codes


Definitions

A(VM userid)

Indicates the address of the user ID requesting the tape mount. If the mount is part of a CA VM:Batch job, it is the user ID of the user submitting the CA VM:Batch job. This field is padded on the right with blanks; that is, it is left-justified.

Following user ID is an 80-byte work area that you can use to pass information between exits. Note that this area is used by the Bin system exits BINEXIT3 and BINACNT. Be sure these areas are not overlaid if using the Bin system.

A(VM userid account number)

Indicates the address of the 8-byte account number obtained from the VMBLOK or ACCTBLOK of the user ID issuing the mount. Also, if the mount is part of a CA VM:Batch job, it is the account number of the user submitting the CA VM:Batch job.

A(Volser requested)

Indicates the address of the 6-byte volser that was requested by the user. Note this is the address of a six-byte volser and not the address of the TMC record for that volser.

A(Common User Exit Buffer)

Indicates the address of the 256-byte work area to be used for passing information between the various user exits. This work area is specific to each command being processed by CA VM:Tape and cannot be used across commands.

A(Temporary TMC Record)

Indicates the address of the 340-byte temporary TMC record for the foreign volser that is being mounted. The file TMRECORD COPY on the CA VM:Tape 192 minidisk describes the format of this record. Use it to access various fields in the record. Because this record is temporary, some fields will contain default values or nulls. The record is deleted when the MOUNT process completes.

A(MOUNT Control Block Flags)

Indicates the address of the internal MOUNT Control Block Flags for this MOUNT request.

Important! Do not change or alter the value of these flags. Each flag field may have multiple flag values set so a TM instruction should be used to test for any specific condition.

FLAG Information:

 

 

FLAG1

DS

X

1st Internal Flag (Pointer Address +0)

LIBVOL

EQU

X’80’

Library Volume

SCRATCH

EQU

X’10’

Doing a SCRATCH Tape Mount

FOREIGN

EQU

X’04’

FOREIGN parm specified for this Mount

BLPCMD

EQU

X’02’

BLP parm specified for this Mount

FLAG2

DS

X

2nd Internal Flag (Pointer Address +1)

ANYTAPE

EQU

X’40’

User has ANYTAPE Authorization

XEXPDT

EQU

X’20’

Using an explicit Expiration Date

XMEDIA

EQU

X’10’

Using an explicit Media Type

XDEN

EQU

X’08’

Using an explicit Density

XTRACKS

EQU

X’04’

Using an explicit Tracks

FLAG3

DS

X

3rd Internal Flag (Pointer Address +2)

SPSCRCH

EQU

X’80’

Specific SCRATCH Mount

XDSN

EQU

X’20’

Using an explicit DSN

GDGMNT

EQU

X’10’

GDG Mount ...

XFILESEQ

EQU

X’04’

Using an explicit File Sequence Number

XUNIT

EQU

X’02’

Using an explicit UNIT