YCHGMDLPRF (Change Model Profile) Command

ca2e87
Certain data is stored in each data model associated with user profiles of developers. This command allows these values to be adjusted.
Contents
 
Required
YCHGMDLPRF (Change Model Profile) Command - Required (12)
Optional
YCHGMDLPRF (Change Model Profile) Command - Optional (20) YCHGMDLPRF (Change Model Profile) CommandOptional (21) YCHGMDLPRF (Change Model Profile) Command - Optional (22) YCHGMDLPRF (Change Model Profile) Command - Optional (23) YCHGMDLPRF (Change Model Profile) Command - Optional (24) YCHGMDLPRF (Change Model Profile) Command - Optional (25) YCHGMDLPRF (Change Model Profile) Command - Optional (26) YCHGMDLPRF (Change Model Profile) Command - Optional (27) YCHGMDLPRF (Change Model Profile) Command - Optional (28) YCHGMDLPRF (Change Model Profile) Command - Optional (29) YCHGMDLPRF (Change Model Profile) Command - Optional (30) YCHGMDLPRF (Change Model Profile) Command - Optional (31)
Parameters
The following are parameters for the YCHGMDLPRF command.
MDLPRF
The model user profile name that is changed. The value for this parameter is as follows:
  • user profile name
    -- The name of the user profile must be entered.
SSNLST
The name of the session list used when editing a model. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *MDLPRF
    -- This special value indicates that the name of the current user profile is loaded to the session list field.
  • list name
    -- The name of the list can be entered.
LOGCHG
This parameter indicates whether changed objects are logged to the specified session list while editing the model. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *YES
    -- Changed objects are logged to the session list.
  • *NO
    -- Changed objects are not logged.
COMPCHG
This parameter indicates whether objects that use a changed object are to be flagged as having had a component changed. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *YES
    -- Objects which use a changed object are flagged when the object is changed.
  • *NO
    -- Component change processing is not performed when the object is changed. It may be performed later using the Apply Component Change command (YAPYCMPCHG).
VIEWONLY
This parameter indicates whether the current user is navigating the model in *VIEW mode or *EDIT mode. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *YES
    -- Navigation is in *VIEW mode.
  • *NO
    -- Navigation is as normal (*EDIT mode).
USROPT
The Edit Model List panel supports the use of user options to be applied to subfile records. This field stores the user option file name to use. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • QAUOOPT
    -- The system-supplied user option file name.
  • list name
    -- User-defined file name.
  • *LIBL
    -- This special value is used as the library name.
  • library name
    -- A library name can be entered.
USROPTMBR
The member in the user options file that is used. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *FILE
    -- The member name is the same as the user options file name.
  • *FIRST
    -- The first member in the file is to be used.
  • *MDLPRF
    -- The member name is the same as the current user profile name.
  • member name
    -- The user options member name.
MDLLST
The list used if *MDLPRF is specified on a model object list command. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *MDLPRF
    -- A list with the same name as the user profile is used.
NPDFUN
The user-defined notepad function to use when using the action diagram editor. The function specified must either be an Execute External Function (EXCEXTFUN) or an Execute Internal Function (EXINTFUN). Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *NONE
    -- No particular notepad function is specified, the action diagram editor will provide an empty notepad for use during editing sessions.
  • notepad function
    -- The function name must be specified.
ADESRNMODE
This parameter provides the default for full screen mode when using the action diagram editor. Values for these parameters are as follows:
  • *SAME
    -- The current value is not changed.
  • *YES
    -- The default for the action diagram editor full screen mode is yes.
  • *NO
    -- The default for full screen mode is no.
JOBLST
When a user invokes the Submit Model Create command (YSBMMDLCRT), this qualified value can be used to determine the job list that is defaulted. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *MDLPRF
    -- A job list with the same name as the user profile is the default.
  • list name
    -- Job list name.
  • *MDLLIB
    -- This special value is used as the default library name.
  • *CURLIB
    -- This special value is used as the default library name.
  • library name
    -- Default library name.
GENLIB
The default generation library name may be specified. When a user invokes the Submit Model Create command (YSBMMDLCRT), this value will be used by default. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *GENLIB
    -- This special value is the default.
  • *CURLIB
    -- This special value is the default.
  • library name
    -- Default library name.
SRCLIB
The default source library name may be specified. When a user invokes the Submit Model Create command (YSBMMDLCRT), this value will be used by default. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *GENLIB
    -- This special value is the default.
  • *CURLIB
    -- This special value is the default.
  • *OBJLIB
    -- Special value meaning that the source library name is the same as for the GENLIB parameter.
  • library name
    -- Default library name.
JOBD
The default job description name to use when a user invokes the Submit Model Create command (YSBMMDLCRT). This qualified value will be used as the default. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *MDLVAL
    -- This special value is the default.
  • job description name
    -- The job description name.
  • *MDLLIB
    -- This special value is the default library in which to find the job description.
  • *CURLIB
    -- This special value is the default library in which to find the job description.
  • *LIBL
    -- This special value is the default library in which to find the job description.
CRTJOBD
The default create job description name to use when a user invokes the Submit Model Create command (YSBMMDLCRT). This qualified value will be used as the default. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *JOBD
    -- This special value is the default.
  • *NONE
    -- This special value is the default.
  • job description name
    -- The create job description name.
  • *MDLLIB
    -- This special value is the default library in which to find the job description.
  • *LIBL
    -- This special value is the default library in which to find the job description.
SBMGENOPT
The default generation option value to use when a user invokes the Submit Model Create command (YSBMMDLCRT). Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *RLS
    -- This special value is the default.
  • *HLD
    -- This special value is the default.
SBMCRTOPT
The default compilation option value to use when a user invokes the Submit Model Create command (YSBMMDLCRT). Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *GENOK
    -- This special value is the default.
  • *IMMED
    -- This special value is the default.
SRNMODE
This parameter determines whether or not the default panel on the Edit Model List command (YEDTMDLLST) is displayed in full screen mode. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *YES
    -- The default for full screen mode is yes.
  • *NO
    -- The default for full screen mode is no.
GUIFLR
This parameter records the default value for the GUI folder value used when prompting the Submit Model Create (YSBMMDLCRT) command for the specified user. Values for these parameters are as follows:
  • *SAME
    -- (default) The current value is not changed.
  • *MDLVAL
    -- The value to be prompted is derived from the model value.
  • *NONE
    -- The default value is *NONE.
  • folder name
    -- Enter the name of a folder.
Notes
User profile values for a particular developer are updated while using the Edit Model Object List command (YEDTMDLLST). The YCHGMDLPRF command may be used to adjust values outside the YEDTMDLLST command.
The processing of the VIEWONLY parameter occurs in the user access exit program (YUSROBJR1C). The shipped default processing switches from *EDIT to *VIEW mode if the VIEWONLY parameter is set. Users should be careful, therefore, when changing the processing of this exit program, to take account of such processing.
Example
To log changed objects to model list CHGOBJ and to perform component change processing the next time user KATHY edits the model:
YCHGMDLPRF MDLPRF( KATHY ) CHGLST + (CHGOBJ ) LOGCHG( *YES ) COMPCHG( *YES )