13 lines
554 B
Mathematica
13 lines
554 B
Mathematica
FSCGETP ;SLC/STAFF-NOIS Get Call Info Personal ;5/18/98 00:06
|
|
;;1.1;NOIS;;Sep 06, 1998
|
|
;
|
|
PFIELDS ; from FSCGET (continuation - out of scope)
|
|
N IEN
|
|
S IEN=+$G(^FSCD("CALL USER","AUC",DUZ,+CALLNUM))
|
|
S PZERO=$G(^FSCD("CALL USER",IEN,0))
|
|
I ALL!$D(ARRAY("PLONG")) S ARRAY("PLONG")=$G(^FSCD("CALL USER",IEN,1))_U_$G(^(1))
|
|
I ALL!$D(ARRAY("PNOTE")) S ARRAY("PNOTE")=$S($D(^FSCD("CALL USER",IEN,2)):1,1:"")
|
|
I ALL!$D(ARRAY("PSHORT")) S ARRAY("PSHORT")=$P(PZERO,U,3)_U_$P(PZERO,U,3)
|
|
I ALL!$D(ARRAY("PNUM")) S ARRAY("PNUM")=$P(PZERO,U,4)_U_$P(PZERO,U,4)
|
|
Q
|