Creating a multi-user environment

The following description allows you to work with sample data in a multi-user environment.

Install M3 SWB and follow the instructions given below:
  1. Copy the content of your local Control directory into the US directory and name it Control_1.
  2. Modify part of the PMINIT.DAT file according to the following:
     READ/WRITE PERMISION: 0  (0=READ ONLY, 1=READ/WRITE) 
       
     LOGFILE              002  PMSP  LOGS  0  0000  99 
    		  
  3. Modify part of the original PMINIT.DAT file according to the following:
     LOGFILE              002  PMSP  LOGS  0  0000  99 
  4. Create a new folder under the main application folder and name it Users.
  5. Create two folders, User_1 and User_2, under the Sample directory.
  6. Create a Multiuser.BAT file in the System directory as shown below.
    ECHO OFF 
    		 
    		ECHO ****************************************** 
    		 
    		ECHO *                                        * 
    		 
    		ECHO *            STARTING M3 APP             * 
    		 
    		ECHO *             PLEASE WAIT...             * 
    		 
    		ECHO *                                        * 
    		 
    		ECHO ****************************************** 
    		 
    		SET PMSIM_ENVIRONMENT=- 
    		 
    		SET PMSIMDIR=D:\Program Files\MvxApp11_1 
    		 
    		SET Movex APP_LANGUAGE=Us 
    		 
    		SET PSUI_INIPATH=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL 
    		 
    		SET HELP=%PMSIMDIR%\%Movex APP_LANGUAGE%\HELP;%PMSIMDIR%\US\HELP; 
    		 
    		SET FID_OTRA=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL\param_fi.111 
    		 
    		SET FID_REGM=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL\PMREGM.FID 
    		 
    		SET PSUI_IMAGEPATH=%PMSIMDIR%\IMAGES\CUSTOM;%PMSIMDIR%\IMAGES 
    		 
    		SET BATC=%PMSIMDIR%\Macro 
    		 
    		SET PMIN=%PMSIMDIR%\%Movex
    		  APP_LANGUAGE%\PANELS\CUSTOM;%PMSIMDIR%\%Movex APP_LANGUAGE%\PANELS 
    		 
    		SET PMER=%PMSIMDIR%\%Movex
    		  APP_LANGUAGE%\PANELS\CUSTOM;%PMSIMDIR%\%Movex APP_LANGUAGE%\PANELS 
    		 
    		SET PMGE=%PMSIMDIR%\%Movex
    		  APP_LANGUAGE%\PANELS\CUSTOM;%PMSIMDIR%\%Movex APP_LANGUAGE%\PANELS 
    		 
    		SET PANE=%PMSIMDIR%\%Movex
    		  APP_LANGUAGE%\PANELS\CUSTOM;%PMSIMDIR%\%Movex APP_LANGUAGE%\PANELS 
    		 
    		SET PMSP=%PMSIMDIR%\SAMPLE\%1 
    		 
    		SET DATA=%PMSIMDIR%\SAMPLE 
    		 
    		SET PMNT=%PMSIMDIR%\USERS 
    		 
    		SET PMPC=%2 
    		 
    		SET PMUI=%1 
    		 
    		if %1==User_1 goto multi 
    		 
    		SET PINI=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL_1 
    		 
    		goto finish_test1 
    		 
    		:multi 
    		 
    		SET PINI=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL 
    		 
    		:finish_test1 
    		 
    		SET MOVEX_VERSION=Other Systems 
    		 
    		SET Movex APP_CONFIG=OTHER 
    		 
    		SET PMSIMDB_PARAMSQL=%PMSIMDIR%\%Movex
    		  APP_LANGUAGE%\CONTROL\param_db.106 
    		 
    		SET PSDB_INIPATH=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL 
    		 
    		SET PSDB_LOGPATH=%PMSIMDIR%\SAMPLE 
    		 
    		SET PMSIMMI_PARAMMVX=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL\ 
    		 
    		SET PSMI_INIPATH=%PMSIMDIR%\%Movex APP_LANGUAGE%\CONTROL 
    		 
    		SET PSMI_LOGPATH=%PMSIMDIR%\SAMPLE 
    		 
    		MvxApp.EXE 
    		 
    		ECHO ON 
    		
  7. Create two shortcuts on the desktop.