Retorna uma string com o apelido do Application Server.

Sintaxe

GetSrvNickName()

Retorno

Nome

Tipo

Descrição

cRet

character

Retorna o apelido da versão do AppServer.

Exemplos

FUNCTION example()
  DEFINE srvNickName CHAR(50),
         lenStr SMALLINT

  LET srvNickName = GetSrvNickName()
  LET lenStr = length(srvNickName)
  IF lenStr <= 0 THEN
    CALL Conout("String Length cannot be zero.")
  END IF
  CALL Conout("AppServer NickName: " || srvNickName)
END FUNCTION

Abrangência

20.3.0.0


  • Sem rótulos