Use FileCheckAssign to move the working (slave) copy of a master file to another directory and/or to assign the slave copy to a different user.
FileCheckAssign may also be entered as FileCheckAs[sign], CheckAssignFile, CheckAsFile, CheckAs[sign], CheckAsn, or ChkA.
FileCheckAssign is supported for BIM files only. It is not supported for workstation, VSE or PDS files.
Required Operands
FILE is either the master or slave BIM file in an existing checkout relationship.
DIR is the directory to which the slave file is to be moved.
USER is the user to which the slave file is to be assigned.
The slave file will be moved to the DIR directory and/or assigned to the USER. FileCheckAssign sets last referenced file to the slave file. The master file is updated to indicate that it is checked out to the DIR directory, and the USER.
When Valid
The user must have DEF access level to the master file directory and DEF access level to the DIR directory.
Return Codes
OK Successful.
CK File is not part of a checkout relationship.
DP File already exists in the DIR directory.
NF One of the following:
User not found.
FILE file not found.
DIR directory not found.
SC Inadequate access level.
Procedure Notes
FileCheckAssign sets the TXM variables to the attributes of the slave file.
Examples
Move the BIM slave file OM20.OMRPWR3 to directory MWD and assign the slave file to user MWD:
=> chka om20.omrpwr3,mwd,mwd
Move the slave file associated with the BIM master file BIREXIO to directory ED35 and assign the slave file to user LSL:
=> chka birexio,ed35,lsl