Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: DIIS

DIIS.m

Go to the documentation of this file.
  1. DIIS ;SFISC/GFT-DELETE THIS LINE AND SAVE AS '%ZIS' IF YOU DON'T HAVE A '%ZIS' ROUTINE ;27OCT2011
  1. ;;22.2;VA FileMan;;Jan 05, 2016;Build 42
  1. ;;Per VA Directive 6402, this routine should not be modified.
  1. ;;Submitted to OSEHRA 5 January 2015 by the VISTA Expertise Network.
  1. ;;Based on Medsphere Systems Corporation's MSC FileMan 1051.
  1. ;;Licensed under the terms of the Apache License, Version 2.0.
  1. ;
  1. %ZIS ;
  1. I $D(IOP)#2 S IO=$I G PARAMS
  1. S IO=$I ;READ "DEVICE: ",IO ;INSERT DEVICE SELECTION HERE
  1. PARAMS S IOM=80,IOSL=24,IOF="#",IOPAR="",POP=0,ION=$P(IO,";"),IOT="TRM"
  1. S IO(0)=$P,IOBS="$C(8)"
  1. ;
  1. ; DIISS uses the variable IOST to determine what to set the screen
  1. ; handling variables to. (See routine DIISS.) DIISS currently
  1. ; looks for values of IOST equal to C-VT220 and C-VT320. If it
  1. ; equals anything else, the IO variables default to the codes for
  1. ; C-VT100 terminals.
  1. ;
  1. ; The variable IOXY contains the code to position the cursor at
  1. ; column position DX and row position DY. Unmodified, this
  1. ; routine sets IOXY to the code for VT100, VT220, and VT320
  1. ; terminals.
  1. ;
  1. S IOST="C-VT100"
  1. S IOXY="W $C(27,91)_(DY+1)_$C(59)_(DX+1)_$C(72)"
  1. Q
  1. ;
  1. ;
  1. ;
  1. REWIND(IO2,IOT,IOPAR) ;Rewind Device
  1. Q 0
  1. ;
  1. HOME ;called from DDFIX,DDMP2,DDSCLONE,DIAR,DIARR,DIARR5,DIARX,DIFGO
  1. S IO=$I G PARAMS