Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Data input via ID card (BS2000 systems)

If you do not use the card reader for sign-on check, you can enter data via the card reader in the following way on BS2000 systems:

If you use the screen function KCCARD or an edit profile with SPECIN=I to output a dialog message (MPUT), the keyboard is locked and the user is requested to insert the magnetic strip card into the ID card reader (this should be made clear in the text for the dialog message).

The follow-up program unit can then use MGET to read the data of the magnetic strip card like a normal screen input.

If no magnetic strip card is available to the user, he or she can unlock the keyboard by pressing either the key (or together with ). In this case, when MGET is called, the follow-up program receives the return code which you assigned to the key with the KDCDEF statement SFUNC during generation.

If you remove the magnetic strip card from the card reader, openUTM repeats the last dialog output (internal KDCDISP).

Checking availability

  • You can check whether the ID card is available in the KCAUSWEIS/kccard field in the KB header. In this case openUTM sets the character "A" if the ID card was inserted at the last input.

  • You can check the availability of an IID card reader by means of an INFO CK call: the return code of the INFO CK call tells you whether or not there is an ID card reader at the terminal. It makes sense to call INFO CK before an MPUT call with KCCARD. In the case of an MPUT with KCCARD to a terminal which does not have a card reader, UTM terminates the service abnormally.