

Using Your Model › Accessing Your CA 2E Model › Accessing Your Model Using the YEDTMDL Command
Accessing Your Model Using the YEDTMDL Command
Access your model by entering the Edit Model (YEDTMDL) command at a command line. The following describes the options available on this command:
- User Type—The user designation determines when you can access the model and what types of modifications you can effect. Designer is the default user designation for YEDTMDL. To invoke the YEDTMDL command as a:
- Designer, enter *DSNR for the User option and press Enter.
- Programmer, enter *PGMR for the User option and press Enter.
- User, accessing the model in a view-only mode, enter *USER for the User option and press Enter.
Note: After entering a model as either *DSNR or *PGMR, do not attempt to enter another model without exiting the current model. Always exit and save your changes before changing to another model’s library list.
In addition to user type, you can also specify the following when invoking the YEDTMDL command:
- Job List—This is the name of the job list containing the names of source members to be generated and/or compiled. *MDLPRF defaults to the job list name specified in your model profile.
- Model entry point—This specifies which of the following panels to display on entry to the model:
- *EDTDBREL (Edit Database Relations, the default)
- *EDTMDLLST (Edit Model Object List)
- *SERVICES (Display Services Menu)
- *NONE (This option loads the model and displays a command line. Use it to execute a series of commands without needing to reload the model for each command. In addition, this option can be used to lock a user into the model based on a user designation.)
- Session List—This specifies the model object list that is to be the target for model objects that are changed during the editing session. *MDLPRF defaults to the session list specified in your model profile.
- Open Access to the Model—This option allows a *DSNR exclusive access to the model. The option displays only if the YOPNACC model value is set to *YES and can be overridden only by a *DSNR with *LOCK authority.
- Model Object List—This is the name of the model object list to edit on the Edit Model Object List panel when the model entry point is *EDTMDLLST. *MDLPRF defaults to the list specified in your model profile. Specify *ALLOBJ to edit model objects rather than model object list entries.
When you select the options you want, the CA 2E logo window displays with the user type you selected displayed in a window in the center of the panel. Following the CA 2E logo, the panel corresponding to the entry point you selected displays. You are ready to edit the model.
Copyright © 2014 CA.
All rights reserved.
 
|
|