Before synchronizing mainframe files with AccuRev, you should define user maps for all mainframe users changing files on the mainframe to the corresponding AccuRev user (see the chapter on how to define the AccuRev user).
Based on these defined user maps, the system enables AccuRev to provide the information about who has done the latest changes when a file is synchronized from the mainframe. With this, the AccuRev history support will provide the user for all managed versions with the information who has changed specific records within a file (see AccuRev Annotate function).
In case you have to create a lot of user mappings you may want to create a script which generates the Enterprise Sync user mappings. To do this create a script which generates an XML file with a format like in the following sample:
<UserMaps> <UserMap> <name>User Map for usera</name> <User> <type>DataSource</type> <value>AccuRevDS</value> <name>usera</name> </User> <User> <type>DataSource</type> <value>EndevorDS</value> <name>USERB</name> </User> </UserMap> <UserMap> ... </UserMap> ... </UserMaps>
For activating these generated user map definitions execute the following steps: