Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC
Print Page as PDF
Routine: MAGGSIUI

Package: Imaging

Routine: MAGGSIUI


Information

MAGGSIUI ;WOIFO/GEK/NST - Utilities for Image Import API ; 20 Jan 2010 10:10 AM

Source Information

Source file <MAGGSIUI.m>

Entry Points

Name Comments DBIA/ICR reference
REMOTE(MAGRY,MAGDATA) ;RPC [MAG4 REMOTE IMPORT]
; Import Images from a Windows App, by sending an array.
IMPORT(MAGRY,IMAGES,MAGIX) ;
; "IDFN","PXPKG","PXIEN","PXDT","TRKID","ACQD","ACQS","ACQL","STSCB","ITYPE",
; "CMTH","CDUZ","USERNAME","PASSWORD","GDESC","DFLG","TRTYPE","DOCCTG","DOCDT",
; "IXTYPE","IXSPEC","IXPROC","IXORIGIN ;Patch 8: Added Index fields
; "PXSGNTYP","PXNEW","PXTIUTTL","PXTIUTXTxxxxx" ; Patch 108
  • ICR #3567
    • Status: Active
    • Usage: Controlled Subscription
    SA(FLD,VAL) ;Set the data array with Fld,Value
    SI(FLD,ARR) ;Set the images into the data array
    ; 'CT' is a global variable.
    GETARR(ARR,QNUM) ;RPC [MAG4 DATA FROM IMPORT QUEUE]
    ; Get the Input Array from Queue Number
    STATUSCB(MAGRY,STAT,TAGRTN,DOCB) ;RPC [MAG4 STATUS CALLBACK]
    ; Report Status to calling application
    ; Now the IAPI and OCX make this call. Not BP
    ; STAT(0)= "0^message" or "1^message"
    ; STAT(1)=TRKID,
    ; (2)=QNUM
    ; (3..N)=warnings
    TESTCB(STATARR) ;TESTING. This is the Status Callback for testing.
    ; the STATUSCB property must have a Valid "M" TAG^ROUTINE
    ; TAG TESTCB exists so that STATUSCB validates successfully
    ERRTRK ;Track bad data and Quit
    DATATRK ; Track the raw data being sent to the Import API.
    ; Log the data being imported. Results are logged later.
    ERR ; ERROR TRAP FOR Import API
    GETIAPID(OUT,TRKID) ; Returns Import API data in OUT array from file (#2006.82) by tracking ID
    ; OUT(FIELD)=VALUE

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"----------------"
    • Line Location: IMPORT+36
    Function Call: WRITE
    • Prompt: !,"---------------------"
    • Line Location: IMPORT+36

    Used in RPC

    RPC Name Call Tags
    MAG4 REMOTE IMPORT REMOTE
    MAG4 DATA FROM IMPORT QUEUE GETARR
    MAG4 STATUS CALLBACK STATUSCB
    Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC