- Timestamp:
- Apr 12, 2012, 12:27:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmts/trunk/p/C0XF2N.m
r1392 r1396 277 277 . S ZVOC=$P(ZI,"xmlns:",2) 278 278 . I ZVOC'="" S C0XVOC(ZVOC)=$G(@ZDOM@(1,"A",ZI)) 279 W !,"VOCABS:" 280 N ZZ S ZZ="" 281 F S ZZ=$O(C0XVOC(ZZ)) Q:ZZ="" W !,ZZ,":",C0XVOC(ZZ) 279 I $D(DEBUG) D ; 280 . W !,"VOCABS:" 281 . N ZZ S ZZ="" 282 . F S ZZ=$O(C0XVOC(ZZ)) Q:ZZ="" W !,ZZ,":",C0XVOC(ZZ) 282 283 ; 283 284 ; -- look for children called rdf:Description. quit if none. not an rdf file … … 542 543 ; -- then unlocking to minimize the duration of the lock 543 544 ; 544 W !,"USING BULKLOAD"545 I $D(DEBUG) W !,"USING BULKLOAD" 545 546 I '$D(ZBFDA) Q ; EMPTY FDA 546 547 I $O(ZBFDA(""))'=172.101 Q ; WRONG FILE … … 552 553 . B 553 554 ; -- lock the zero node and reserve a block of iens to insert 554 W !,"LOCKING ZERO NODE"555 I $D(DEBUG) W !,"LOCKING ZERO NODE" 555 556 LOCK +^C0X(101,0) 556 557 S ZP3=$P(^C0X(101,0),U,3) … … 561 562 N ZI,ZN,ZG,ZS,ZP,ZO,ZIEN,ZBASE 562 563 S ZBASE=ZP3 ; the last ien in the file 563 W !,"ZERO NODE UNLOCKED, IENS RESERVED=",ZCNT564 W !,$$NOW^XLFDT564 I $D(DEBUG) W !,"ZERO NODE UNLOCKED, IENS RESERVED=",ZCNT 565 I $D(DEBUG) W !,$$NOW^XLFDT 565 566 S ZI="" 566 567 F S ZI=$O(ZBFDA(172.101,ZI)) Q:ZI="" D ;
Note:
See TracChangeset
for help on using the changeset viewer.