Print Page as PDF
USE SCREENMAN DDS VARIABLE ICR (5746)

USE SCREENMAN DDS VARIABLE    ICR (5746)

Name Value
NUMBER 5746
IA # 5746
DATE CREATED 2011/11/04
CUSTODIAL PACKAGE VA FILEMAN
USAGE Private
TYPE Other
DBIC APPROVAL STATUS APPROVED
NAME USE SCREENMAN DDS VARIABLE
GENERAL DESCRIPTION
The ScreenMan documentation recommends that
applications use $D(DDS) to determine if their code is being executed from
within a ScreenMan form. Reading the contents of ScreenMan's DDS variable
allows application developers to determine the ScreenMan form their code is
being invoked from. The format of DDS is formIEN^formName. This ICR allows
reading of DDS variable.

In order for an application to integrate and simultaneously use the Browser,
List Manager, and ScreenMan the application must be able to manipulate the DDS
variable. If List Manager is invoked from ScreenMan List Manager prompts will
not display correctly because ^DIR works differently when DDS is defined.
Therefore the application must save DDS and kill it before calling List
Manager and restore it when returning from List Manager to ScreenMan. If the
Browser is invoked from List Manager and DDS is not defined because of the
above situation then the Browser will kill on exit some of variables needed by
ScreenMan. Therefore the application needs to temporarily set DDS=1 before
invoking the Browser.

In summary, this ICR allows the application to read, kill, set, and NEW the
DDS variable.

Note that if List Manager is being invoked from ScreenMan the following Kernel
calls should be made to restore the terminal settings required by ScreenMan
before calling REFRESH^DDSUTL.

N IOAWMO,X         S X=0 X ^%ZOSF("RM"),^%ZOSF("TYPE-AHEAD") S X="IOAWM0" D
ENDR^%ZISS W IOAWM0

If this is not done the ScreenMan display will be corrupted.

STATUS Active
KEYWORDS
  • SCREENMAN
  • DDS VARIABLE
DURATION Till Otherwise Agreed
SUBSCRIBING PACKAGE CLINICAL REMINDERS
DATE ACTIVATED 2012/03/20