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
Print Page as PDF
Routine: TIUFHA8

Package: Text Integration Utility

Routine: TIUFHA8


Information

TIUFHA8 ; SLC/MAM - MOVEDOC, MDRPOINT(OLDTLDA,NEWTLDA,POLDTLDA,PNEWTLDA,NOLOCK), NEWTITLE(FILEDA,PFILEDA), MTRPOINT(TITLEDA,OLDCLASS) ;1/29/06

Source Information

Source file <TIUFHA8.m>

Entry Points

Name Comments DBIA/ICR reference
CANT(FILEDA,NODE0) ; Check if docmts can be moved; return 1 if cant
CANTX
MOVEDOC ; Move documents from old Title to new Title. Template H ONLY. Titles must have same grandparent. Titles cannot have components.
AGAINDOC
MDOCX
MDRPOINT(OLDTLDA,NEWTLDA,POLDTLDA,PNEWTLDA,NOLOCK) ; Repoint for Move Documents from one title to another: Repoints TITLE and PARENT DOCUMENT TYPE for documents that use old title.
; If old and new titles are in same DC, skips repointing PARENT DOCUMENT TYPE.
NEWTITLE(FILEDA,PFILEDA) ; Function returns DIC's Y=N^S of New Title to move documents to, or 0 if none chosen.
AGAINNEW
NEWTLX
MTRPOINT(TITLEDA,OLDCLASS) ; Repoint for Move Title from one DC to another:
; Repoints PARENT DOCUMENT TYPE to parent of TITLEDA for documents using
MTRPT1(TITLEDA,DA,XDCDA,OLDCLASS,NOLOCK) ; Repoint 1 docmt for Move TL.
; Requires TITLEDA,DA,XDCDA,TIUFMOVE. Requires OLDCLASS>or=0.
; Kills DA node of ^XTMP("TIUFMOVE[N]"_TLDA if successfully updated.
DCDOCMTS(XDCLASS,OLDCLASS) ; Updates CLASS xrefs for documents using DC XDCLASS
TLDOCMTS(TITLEDA,OLDCLASS) ; Updates CLASS xrefs for documents using title TITLEDA.

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,CANTMSG,!
  • Line Location: CANTX+0
Function Call: WRITE
  • Prompt: !," Missing List Manager Data; See IRM",!
  • Line Location: AGAINDOC+0
Function Call: WRITE
  • Prompt: !
  • Line Location: AGAINDOC+19
Function Call: WRITE
  • Prompt: "...done. Please move remaining documents later."
  • Condition for execution: NOLOCK
  • Line Location: AGAINDOC+19
Function Call: WRITE
  • Prompt: !!,"If you want users to be able to enter more documents on the OLD TITLE,",!,"please reactivate it."
  • Line Location: AGAINDOC+21
Function Call: WRITE
  • Prompt: !,"...Nothing moved"
  • Line Location: MDOCX+0
Function Call: WRITE
  • Prompt: !!,"OLD Title inactivated. Moving documents..."
  • Line Location: MDRPOINT+3
Function Call: WRITE
  • Prompt: !,"...Document can't be locked. Please move it later. Continuing to move others...",!
  • Line Location: MDRPOINT+7
Function Call: WRITE
  • Prompt: "."
  • Line Location: MDRPOINT+9
Function Call: WRITE
  • Prompt: !!," Selecting target Title."
  • Line Location: AGAINNEW+1
Function Call: WRITE
  • Prompt: " Enter '??' for a list of selectable ones.",!
  • Line Location: AGAINNEW+2
Function Call: WRITE
  • Prompt: " You may not select PRF Flag Titles or Titles outside"
  • Line Location: AGAINNEW+3
Function Call: WRITE
  • Prompt: " the original Class."
  • Line Location: AGAINNEW+4
Function Call: WRITE
  • Prompt: !," ?? Documents cannot be moved to Titles with Components",!
  • Line Location: AGAINNEW+15
Function Call: WRITE
  • Prompt: !!,"Faulty Title. Please TRY Title and correct problems",!,"before moving documents to it."
  • Line Location: AGAINNEW+18
Function Call: WRITE
  • Prompt: " Documents NOT Moved.",!
  • Line Location: AGAINNEW+20
Function Call: WRITE
  • Prompt: !!,"Title has no documents to update.",!
  • Line Location: MTRPOINT+9
Function Call: WRITE
  • Prompt: !!,"Title has no parent.",!
  • Line Location: MTRPOINT+10
Function Call: WRITE
  • Prompt: !!,"Processing documents that use this Title...",!
  • Line Location: MTRPOINT+11
Function Call: WRITE
  • Prompt: !,"Done."
  • Line Location: MTRPOINT+13
Function Call: WRITE
  • Prompt: !!," Since some documents needing update were (still) not available, please update",!,"them using action 'Update Documents' (again) for this title.",!
  • Line Location: MTRPOINT+15
Function Call: WRITE
  • Prompt: " All documents updated for selected Title.",!
  • Line Location: MTRPOINT+17
Function Call: WRITE
  • Prompt: !,"...Document ",DA," can't be locked, not updated.",!
  • Line Location: MTRPT1+5
Function Call: WRITE
  • Prompt: !,"Document ",DA," updated"
  • Line Location: MTRPT1+9
Function Call: WRITE
  • Prompt: "."
  • Line Location: MTRPT1+10
Function Call: WRITE
  • Prompt: !!,"Title has no documents to update.",!
  • Line Location: TLDOCMTS+3
Function Call: WRITE
  • Prompt: "."
  • Line Location: TLDOCMTS+7
Info |  Source |  Entry Points |  Interaction Calls