Hi Anne,
The shear could be recorded by using the "User Defined" option in the EDP panel. I've attached two tcl scripts for getting story shear values (along with other EDPs in the "Standard Earthquake" option). "MyRecorder.tcl" helps to create recorders in OpenSees and "MyPostprocess.tcl" helps to prepare a results.out file for dakota to parse the output. Since the number of story and number of bays are specified by users, so please also modify "num_story" and "num_bay" in these two tcl scripts accordingly. In addition to load these two scripts, EDP names are also needed by adding them via the "Add" button in the EDP panel. Please see the attached "user-defined-edp.png" where EDP names follow the format: 1-EDP-story-direction (e.g., first story shear in X direction: 1-V-1-1). Please feel free to download and test them.
Regards,
Kuanshi