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

DINIT27B.m

Go to the documentation of this file.
  1. DINIT27B ;ISCSF/DPC-FOREIGN FORMAT 1-2-3 IMPORT NUMBERS ;1/11/93 2:34 PM
  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. F I=1:2 S X=$T(ENTRY+I) G:X="" ^DINIT27C S Y=$E($T(ENTRY+I+1),5,999),X=$E(X,4,999),@X=Y
  1. Q
  1. ENTRY ;
  1. ;;^DIST(.44,.002,0)
  1. ;;=1-2-3 IMPORT NUMBERS^032^^^^^^0^1^1^1^1^0
  1. ;;^DIST(.44,.002,3,0)
  1. ;;=^^9^9^2930107^
  1. ;;^DIST(.44,.002,3,1,0)
  1. ;;=This format exports data for use with LOTUS 1-2-3 spreadsheets.
  1. ;;^DIST(.44,.002,3,2,0)
  1. ;;=Non-numeric fields will be in quotes. Each field will be separated by
  1. ;;^DIST(.44,.002,3,3,0)
  1. ;;=a space. Null-valued numeric fields in the primary file will be converted
  1. ;;^DIST(.44,.002,3,4,0)
  1. ;;=to a zero ('0'). WARNING: If the value of a field that is not in the
  1. ;;^DIST(.44,.002,3,5,0)
  1. ;;=primary file or that is not defined in the VA FILEMAN data dictionary as
  1. ;;^DIST(.44,.002,3,6,0)
  1. ;;=numeric is null or zero, nothing is output. That is, a zero (0) is NOT
  1. ;;^DIST(.44,.002,3,7,0)
  1. ;;=output. This will destroy the positional results of the data and will
  1. ;;^DIST(.44,.002,3,8,0)
  1. ;;=install data in incorrect columns!! If this situation is possible, do NOT
  1. ;;^DIST(.44,.002,3,9,0)
  1. ;;=use this format; consider the 123 DATA PARSE format.
  1. ;;^DIST(.44,.002,4,0)
  1. ;;=^^4^4^2930107^
  1. ;;^DIST(.44,.002,4,1,0)
  1. ;;=To import into 1-2-3, choose FILE->IMPORT->NUMBERS.
  1. ;;^DIST(.44,.002,4,2,0)
  1. ;;=Field values will automatically be placed into columns.
  1. ;;^DIST(.44,.002,4,3,0)
  1. ;;=Lotus 1-2-3 will automatically recognize your file for import if it has an
  1. ;;^DIST(.44,.002,4,4,0)
  1. ;;=extension of '.PRN'.
  1. ;;^DIST(.44,.002,5,0)
  1. ;;=^.441^1^1
  1. ;;^DIST(.44,.002,5,1,0)
  1. ;;=LOTUS 123 (NUMBERS)
  1. ;;^DIST(.44,.002,5,"B","LOTUS 123 (NUMBERS)",1)
  1. ;;=