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

DINIT0FL.m

Go to the documentation of this file.
  1. DINIT0FL ;SFISC/MKO-DATA FOR FORM AND BLOCK FILES ;10:49 AM 30 Mar 1999
  1. ;;22.0;VA FileMan;;Mar 30, 1999
  1. ;Per VHA Directive 10-93-142, this routine should not be modified.
  1. F I=1:2 S X=$T(ENTRY+I) G:X="" ^DINIT0FM S Y=$E($T(ENTRY+I+1),5,999),X=$E(X,4,999),@X=Y
  1. Q
  1. ENTRY ;
  1. ;;^DIST(.404,.442,40,7,4)
  1. ;;=^^^^0
  1. ;;^DIST(.404,.442,40,7,7)
  1. ;;=^3
  1. ;;^DIST(.404,.443,0)
  1. ;;=DDXP FF BLK3^.441^0
  1. ;;^DIST(.404,.443,15,0)
  1. ;;=^^2^2^2920925
  1. ;;^DIST(.404,.443,15,1,0)
  1. ;;=Block for subpage containing fields from the OTHER NAME FOR FORMAT
  1. ;;^DIST(.404,.443,15,2,0)
  1. ;;=multiple. Used in defining a foreign file format.
  1. ;;^DIST(.404,.443,40,0)
  1. ;;=^.4044I^2^2
  1. ;;^DIST(.404,.443,40,1,0)
  1. ;;=1^OTHER NAME^3
  1. ;;^DIST(.404,.443,40,1,1)
  1. ;;=.01
  1. ;;^DIST(.404,.443,40,1,2)
  1. ;;=2,20^15^2,8^0
  1. ;;^DIST(.404,.443,40,2,0)
  1. ;;=2^DESCRIPTION (WP)^3
  1. ;;^DIST(.404,.443,40,2,1)
  1. ;;=1
  1. ;;^DIST(.404,.443,40,2,2)
  1. ;;=4,20^1^4,2^0
  1. ;;^DIST(.404,.4611,0)
  1. ;;=DDMP SPECS 1^.44
  1. ;;^DIST(.404,.4611,15,0)
  1. ;;=^^2^2^2950216
  1. ;;^DIST(.404,.4611,15,1,0)
  1. ;;=Block contains specifications of data import including source file, VA
  1. ;;^DIST(.404,.4611,15,2,0)
  1. ;;=FileMan target file, and format of the incoming data.
  1. ;;^DIST(.404,.4611,40,0)
  1. ;;=^.4044I^23^21
  1. ;;^DIST(.404,.4611,40,1,0)
  1. ;;=1^DATA IMPORT^1
  1. ;;^DIST(.404,.4611,40,1,2)
  1. ;;=^^1,35
  1. ;;^DIST(.404,.4611,40,2,0)
  1. ;;=2^Page 1^1
  1. ;;^DIST(.404,.4611,40,2,2)
  1. ;;=^^1,72
  1. ;;^DIST(.404,.4611,40,3,0)
  1. ;;=1.1^===========^1
  1. ;;^DIST(.404,.4611,40,3,2)
  1. ;;=^^2,35^1
  1. ;;^DIST(.404,.4611,40,4,0)
  1. ;;=6^SOURCE FILE^1
  1. ;;^DIST(.404,.4611,40,4,2)
  1. ;;=^^4,53^1
  1. ;;^DIST(.404,.4611,40,5,0)
  1. ;;=6.1^-----------^1
  1. ;;^DIST(.404,.4611,40,5,2)
  1. ;;=^^5,53^1
  1. ;;^DIST(.404,.4611,40,6,0)
  1. ;;=6.2^Full path^2^^PTH
  1. ;;^DIST(.404,.4611,40,6,2)
  1. ;;=6,61^19^6,50
  1. ;;^DIST(.404,.4611,40,6,3)
  1. ;;=!M
  1. ;;^DIST(.404,.4611,40,6,3.1)
  1. ;;=S Y=$$PWD^%ZISH
  1. ;;^DIST(.404,.4611,40,6,4)
  1. ;;=1
  1. ;;^DIST(.404,.4611,40,6,20)
  1. ;;=F^^1:245
  1. ;;^DIST(.404,.4611,40,6,21,0)
  1. ;;=^^2^2^2950216
  1. ;;^DIST(.404,.4611,40,6,21,1,0)
  1. ;;=Enter the full path to the host file that contains the data you want to
  1. ;;^DIST(.404,.4611,40,6,21,2,0)
  1. ;;=import. Do not include the name of the file itself.
  1. ;;^DIST(.404,.4611,40,6,23)
  1. ;;=S DDMPHOST("PATH")=X
  1. ;;^DIST(.404,.4611,40,7,0)
  1. ;;=6.3^Host file name^2^^HST_FL
  1. ;;^DIST(.404,.4611,40,7,2)
  1. ;;=7,61^19^7,45
  1. ;;^DIST(.404,.4611,40,7,4)
  1. ;;=1
  1. ;;^DIST(.404,.4611,40,7,20)
  1. ;;=F^^1:100
  1. ;;^DIST(.404,.4611,40,7,21,0)
  1. ;;=^^1^1^2960611
  1. ;;^DIST(.404,.4611,40,7,21,1,0)
  1. ;;=^D HOSTHELP^DDMPSM1
  1. ;;^DIST(.404,.4611,40,7,23)
  1. ;;=S DDMPHOST("FILE")=X
  1. ;;^DIST(.404,.4611,40,8,0)
  1. ;;=7^VA FILEMAN FILE^1
  1. ;;^DIST(.404,.4611,40,8,2)
  1. ;;=^^10,51^1
  1. ;;^DIST(.404,.4611,40,9,0)
  1. ;;=7.1^---------------^1
  1. ;;^DIST(.404,.4611,40,9,2)
  1. ;;=^^11,51^1
  1. ;;^DIST(.404,.4611,40,10,0)
  1. ;;=7.2^Primary file^2^^F_SEL
  1. ;;^DIST(.404,.4611,40,10,2)
  1. ;;=12,61^18^12,47
  1. ;;^DIST(.404,.4611,40,10,13)
  1. ;;=D FILESEL^DDMPSM
  1. ;;^DIST(.404,.4611,40,10,20)
  1. ;;=P^^1:ANEF
  1. ;;^DIST(.404,.4611,40,10,21,0)
  1. ;;=^^3^3^2960918
  1. ;;^DIST(.404,.4611,40,10,21,1,0)
  1. ;;=Enter the name or number of the VA FileMan file into which the data will
  1. ;;^DIST(.404,.4611,40,10,21,2,0)
  1. ;;=be imported. If the FileMan file is specified in the source file, enter
  1. ;;^DIST(.404,.4611,40,10,21,3,0)
  1. ;;=nothing here.
  1. ;;^DIST(.404,.4611,40,10,23)
  1. ;;=S DDMPSELF=X
  1. ;;^DIST(.404,.4611,40,10,24)
  1. ;;=S DIR("S")="N DIFILE,DIAC S DIFILE=Y,DIAC=""WR"" D ^DIAC I DIAC"
  1. ;;^DIST(.404,.4611,40,11,0)
  1. ;;=5^DATA FORMAT^1
  1. ;;^DIST(.404,.4611,40,11,2)
  1. ;;=^^4,16
  1. ;;^DIST(.404,.4611,40,12,0)
  1. ;;=5.1^-----------^1
  1. ;;^DIST(.404,.4611,40,12,2)
  1. ;;=^^5,16^1
  1. ;;^DIST(.404,.4611,40,13,0)
  1. ;;=5.2^Internal or external^2^^INT_EXT
  1. ;;^DIST(.404,.4611,40,13,2)
  1. ;;=6,23^8^6,1
  1. ;;^DIST(.404,.4611,40,13,3)
  1. ;;=External
  1. ;;^DIST(.404,.4611,40,13,20)
  1. ;;=S^OM^E:EXTERNAL;I:INTERNAL
  1. ;;^DIST(.404,.4611,40,13,21,0)
  1. ;;=^^3^3^2950216
  1. ;;^DIST(.404,.4611,40,13,21,1,0)
  1. ;;=Specify whether the imported data is in internal or external format.
  1. ;;^DIST(.404,.4611,40,13,21,2,0)
  1. ;;=Internal format means the way the data is stored inside of VA FileMan
  1. ;;^DIST(.404,.4611,40,13,21,3,0)
  1. ;;=files. External means the format that a user enter.
  1. ;;^DIST(.404,.4611,40,13,23)
  1. ;;=S DDMPIORE=X
  1. ;;^DIST(.404,.4611,40,14,0)
  1. ;;=5.3^Foreign format^2^^FOR_FMT
  1. ;;^DIST(.404,.4611,40,14,2)
  1. ;;=8,23^17^8,7
  1. ;;^DIST(.404,.4611,40,14,13)
  1. ;;=D FF^DDMPSM
  1. ;;^DIST(.404,.4611,40,14,20)
  1. ;;=P^^.44:EAM
  1. ;;^DIST(.404,.4611,40,14,21,0)
  1. ;;=^^6^6^2950228
  1. ;;^DIST(.404,.4611,40,14,21,1,0)
  1. ;;=Enter the foreign format that corresponds to the structure of the data
  1. ;;^DIST(.404,.4611,40,14,21,2,0)
  1. ;;=being imported. These formats are stored in the Foreign Format file. If
  1. ;;^DIST(.404,.4611,40,14,21,3,0)
  1. ;;=you do not choose a format here, you must specify whether the incoming
  1. ;;^DIST(.404,.4611,40,14,21,4,0)
  1. ;;=data is fixed length, what the field delimiter is (if any), and whether
  1. ;;^DIST(.404,.4611,40,14,21,5,0)
  1. ;;=some field values are quoted. If you enter a format here, any attributes
  1. ;;^DIST(.404,.4611,40,14,21,6,0)
  1. ;;=of the format that you specified below will be deleted.
  1. ;;^DIST(.404,.4611,40,16,0)
  1. ;;=5.5^Data fixed length?^2^^FIX
  1. ;;^DIST(.404,.4611,40,16,2)
  1. ;;=10,23^3^10,4^1
  1. ;;^DIST(.404,.4611,40,16,13)
  1. ;;=S DDMPSMFF("FIXED")=DDSEXT
  1. ;;^DIST(.404,.4611,40,16,20)
  1. ;;=Y
  1. ;;^DIST(.404,.4611,40,16,21,0)
  1. ;;=^^4^4^2950216
  1. ;;^DIST(.404,.4611,40,16,21,1,0)
  1. ;;=Enter YES or NO.
  1. ;;^DIST(.404,.4611,40,16,21,2,0)
  1. ;;=If the incoming data is in fixed length fields, enter YES.
  1. ;;^DIST(.404,.4611,40,16,21,3,0)
  1. ;;=If the fields are delimited by a special character, enter NO and enter the
  1. ;;^DIST(.404,.4611,40,16,21,4,0)
  1. ;;=field delimiter at the prompt below.
  1. ;;^DIST(.404,.4611,40,17,0)
  1. ;;=5.6^Field delimiter^2^^FLD_DLM
  1. ;;^DIST(.404,.4611,40,17,2)
  1. ;;=11,23^3^11,6
  1. ;;^DIST(.404,.4611,40,17,13)
  1. ;;=S DDMPSMFF("FDELIM")=DDSEXT
  1. ;;^DIST(.404,.4611,40,17,20)
  1. ;;=F^^1:15
  1. ;;^DIST(.404,.4611,40,17,21,0)
  1. ;;=^^8^8^2960823
  1. ;;^DIST(.404,.4611,40,17,21,1,0)
  1. ;;=If the incoming data is not in fixed length fields, enter the character or
  1. ;;^DIST(.404,.4611,40,17,21,2,0)
  1. ;;=characters that separate fields.
  1. ;;^DIST(.404,.4611,40,17,21,3,0)
  1. ;;=
  1. ;;^DIST(.404,.4611,40,17,21,4,0)
  1. ;;=Identify the delimiter either by 1-15 characters or by the delimiter's 3
  1. ;;^DIST(.404,.4611,40,17,21,5,0)
  1. ;;=digit ascii value. Up to 4 ascii-character values can be specified,
  1. ;;^DIST(.404,.4611,40,17,21,6,0)
  1. ;;=separated by commas. Use the ascii value when the delimiter is a
  1. ;;^DIST(.404,.4611,40,17,21,7,0)
  1. ;;=non-printing character (e.g., <TAB>, ascii=009) or a character that has a
  1. ;;^DIST(.404,.4611,40,17,21,8,0)
  1. ;;=special meaning at a ScreenMan prompt (e.g., ^, ascii=094).