Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

USER-SWITCH( ) Evaluate user switch

The USER-SWITCH( ) function checks the value of the specified user switch.

User switches are used, for example, to synchronize batch jobs, i.e. in background procedures. Each user ID has available to it 32 user switches, which apply for all the jobs running under the user ID. That is, user switches which are set in one job can be evaluated by a different job which is running under the same user ID. User switches are set by means of the MODIFY-USER-SWITCHES command.

Result type: BOOLEAN

USER-SWITCH( )

NUMBER = zahl

,USER-ID = *OWN / <string 1..8>