End User Code Options in LeasePak Server Scripts
LeasePak Documentation Suite NETSOL website
End User Code Objects

End User Code Objects

End User Code Options in LeasePak Server Scripts

Previous  

setup_new_env


% setup_new_env 
ERROR: Arguments required: 
  Usage: setup_new_env [-[dblncfts]] env-name db-type [db-server db-name] [build-descriptor] 
  Usage: setup_new_env -v[dbln] env-name host-env build-descriptor 
  where: 
      -v = Visitor environment          -t = Test driver environment  [require build-descriptors] 
      -n = No client info display       -f = Foreign (non-LeasePak) database 
      -c = Closed to visitor            -l = Links used to populate exe dir 
      -b = Build-id used for live/dlvy  -d = Dev startup files used    
      -s = No end user code 
  A build descriptor is 'live', 'dlvy', 'host', or a build name ('bld#.##.####',  
  e.g., 'bld5.01.1126') 

The new -s flag will prevent any end user code (user code objects or customized custom code objects) from being loaded into the LeasePak database (LLDB).

db_drop_code


% db_drop_code 
ERROR: Usage: db_drop_code [-u] environment-name [dbo-password] 

The new -u flag will cause db_drop_code to drop only end user code (user code objects or customized custom code objects) from the LeasePak database indicated. In the absence of the -u flag, db_drop_code will drop all end user and NetSol-provided code (including views) from the LeasePak database indicated.

Information note:  Starting in LeasePak 5.3a, db_drop_code also affects views within the LeasePak database.

db_load_code


% db_load_code 
ERROR: Usage: db_load_code [-u] environment-name [dbo-password] 

The new -u flag will cause db_load_code to load only end user code (user code objects or customized custom code objects) into the LeasePak database indicated. In the absence of the -u flag, db_load_code will load all end user and NetSol-provided code objects including LeasePak views into the LeasePak database indicated.

Information note:  Starting in LeasePak 6.0a, db_load_code also affects views within the LeasePak database.

db_set_security


% db_set_security 
ERROR: Usage: db_set_security [-u] environment-name [dbo-password] 

The new -u flag will cause db_set_security to execute only the script created by db_load_code when it last loaded end user code (user code objects or customized custom code objects) into the LeasePak database indicated.