Jump to content

RxUpm: Difference between revisions

From EDM2
Created page with "This function allows you to make most UPM calls from a Rexx program. ==Syntax== upmrc = RxUpm(func, uid, pw, type, name, check) ==Parameters== ; func : 'Logon' For P..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
This function allows you to make most UPM calls from a Rexx program.  
This function allows you to make most UPM calls from a Rexx program.


==Syntax==
==Syntax==
  upmrc = RxUpm(func, uid, pw, type, name, check)
  upmrc = RxUpm(func, uid, pw, type, name, check)


==Parameters==
==Parameters==
 
;func
; func
'Logon'    For Process level logon, only usable by that process */
: 'Logon'    For Process level logon, only usable by that process */
'Logonp'
: 'Logonp'
'Logonu'    For "User" logon, usable by all processes
: 'Logonu'    For "User" logon, usable by all processes
'Logoff'    For Process level logoff, undoes a "LOGONP"
: 'Logoff'    For Process level logoff, undoes a "LOGONP"
'Logoffp'
: 'Logoffp'
'Logoffu'  For "User" logoff, undoes a "LOGONU"
: 'Logoffu'  For "User" logoff, undoes a "LOGONU"
'LogonList' Gets list of current active logons
: 'LogonList' Gets list of current active logons
;uid
 
'Userid'    Userid to be logged on/off
; uid  
'stemname'  Name of Rexx stem variable under which results of "LogonList" are mapped as such:
: 'Userid'    Userid to be logged on/off
  stem.0    - Number of logons reported on
: 'stemname'  Name of Rexx stem variable under which results of "LogonList" are mapped as such:
  stem.n.1  - Userid
:: stem.0    - Number of logons reported on
  stem.n.2  - Node/Domain name
:: stem.n.1  - Userid
  stem.n.3  - Session-Id
:: stem.n.2  - Node/Domain name
  stem.n.4  - Logon type (Local/Node/Domain)
:: stem.n.3  - Session-Id
;pw:
:: stem.n.4  - Logon type (Local/Node/Domain)
'Password'  Password to be used with 'Userid' (for logon)
 
; pw
: 'Password'  Password to be used with 'Userid' (for logon)
 
; type
; type
: 'Local'    Logs you on/off UPM locally (default is LOCAL if no value supplied)
'Local'    Logs you on/off UPM locally (default is LOCAL if no value supplied)
: 'Node'      Logs you on/off a node
'Node'      Logs you on/off a node
: 'Domain'    Logs you on/off a LAN domain
'Domain'    Logs you on/off a LAN domain
: 'dataBase'  Logs you on/off the correct node for a database
'dataBase'  Logs you on/off the correct node for a database
 
; name
; name
: 'Name'      The name of the node/domain/database, depending on what "TYPE" was chosen
'Name'      The name of the node/domain/database, depending on what "TYPE" was chosen
; check  
; check  
: 'Admin'    Checks to see if userid has Admin authority
'Admin'    Checks to see if userid has Admin authority
: 'User'      Checks to see if userid has User authority
'User'      Checks to see if userid has User authority
: 'Config'    Checks to see if logon was done from Config.Sys
'Config'    Checks to see if logon was done from Config.Sys
 
 


[[Category:RXU]]
[[Category:RXU]]

Latest revision as of 14:10, 8 June 2019

This function allows you to make most UPM calls from a Rexx program.

Syntax

upmrc = RxUpm(func, uid, pw, type, name, check)

Parameters

func
'Logon'     For Process level logon, only usable by that process */
'Logonp'
'Logonu'    For "User" logon, usable by all processes
'Logoff'    For Process level logoff, undoes a "LOGONP"
'Logoffp'
'Logoffu'   For "User" logoff, undoes a "LOGONU"
'LogonList' Gets list of current active logons
uid
'Userid'    Userid to be logged on/off
'stemname'  Name of Rexx stem variable under which results of "LogonList" are mapped as such:
 stem.0    - Number of logons reported on
 stem.n.1  - Userid
 stem.n.2  - Node/Domain name
 stem.n.3  - Session-Id
 stem.n.4  - Logon type (Local/Node/Domain)
pw
'Password'  Password to be used with 'Userid' (for logon)
type
'Local'     Logs you on/off UPM locally (default is LOCAL if no value supplied)
'Node'      Logs you on/off a node
'Domain'    Logs you on/off a LAN domain
'dataBase'  Logs you on/off the correct node for a database
name
'Name'      The name of the node/domain/database, depending on what "TYPE" was chosen
check
'Admin'     Checks to see if userid has Admin authority
'User'      Checks to see if userid has User authority
'Config'    Checks to see if logon was done from Config.Sys