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: SCCVU1

Package: Scheduling

Routine: SCCVU1


Information

SCCVU1 ;ALB/RMO,TMP - SCHED VISITS CONVERT/ARCHIVE UTILITIES; [ 10/10/95 2:39 PM ]

Source Information

Source file <SCCVU1.m>

Entry Points

Name Comments DBIA/ICR reference
CHKDT(SCRESULT,SC,SCCVTYP) ; -- Check date range
; Input -- SC Array:
; SC("STARTDT") Start date
; ("ENDDT") End date
; -- SCCVTYP "CST" for convert function
; "AST" for archive function
; Output -- SCRESULT (#=Error number | 0=No Error)^Message
CHKDTQ
CHKDUP(SCRESULT,SC,SCCVT) ; -- Check duplicate log entries
; Input -- SC Array:
; SC("TYPE") Conversion type
; ("STARTDT") Start date
; ("ENDDT") End date
; ("TEMPLNO") Template number ien
; -- SCCVT "CST" for convert function
; "AST" for archive function
; Output -- SCRESULT (#=Error number | 0=No Error)^Message
CHKDUPQ
PROCREQ(SCRESULT,SC) ; -- Process conversion/estimate request
; Input -- SC Array:
; SC("TEMPLNO") Template number ien
; ("REQNUM") Request number ien
; Output -- SCRESULT (#=Error number | 0=No Error)^Message
PROCREQQ
TASKSTA(SCRESULT,SCLOG) ; -- Retrieve task status description
; Input -- SCLOG Template number ien
; Output --
; SCRESULT (0^Task status description^status code or Error #^Message)
TASKSTAQ
BLDSTR(E) ; -- Build error message string
; Input -- E Error message array
; Output -- Error message string for display purposes
DTOK(SC) ; -- Verify that date range is OK
DTOKQ ;
CNVTSCH(SCLOG) ; -- Function determines if any convert was scheduled
; Returns 0 if none scheduled, 1 if any ever scheduled
JOURNAL(SCLOG) ; -- display journal message and global growth estimates

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,*7,$P(SCERR,U,2),!!
  • Line Location: DTOKQ+1
Function Call: WRITE
  • Prompt: !
  • Line Location: JOURNAL+7
Function Call: WRITE
  • Prompt: !,">>> The estimated global growth profile for this template is the following:"
  • Line Location: JOURNAL+8
Function Call: WRITE
  • Prompt: !
  • Line Location: JOURNAL+9
Function Call: WRITE
  • Prompt: !,?10,"Global",?25,"Blocks",?40,"[Block Size: ",$$BLKSIZE^SCCVEGU1()," bytes]"
  • Line Location: JOURNAL+10
Function Call: WRITE
  • Prompt: !,?10,"---------",?25,"-----------"
  • Line Location: JOURNAL+11
Function Call: WRITE
  • Prompt: !,?10,"^SCE",?25,$J($FN($G(SCDATA(404.98,SCLOG,207,"E")),","),11)
  • Line Location: JOURNAL+12
Function Call: WRITE
  • Prompt: !,?10,"^AUPNVSIT",?25,$J($FN($G(SCDATA(404.98,SCLOG,208,"E")),","),11)
  • Line Location: JOURNAL+13
Function Call: WRITE
  • Prompt: !,?10,"^AUPNVPRV",?25,$J($FN($G(SCDATA(404.98,SCLOG,209,"E")),","),11)
  • Line Location: JOURNAL+14
Function Call: WRITE
  • Prompt: !,?10,"^AUPNVPOV",?25,$J($FN($G(SCDATA(404.98,SCLOG,210,"E")),","),11)
  • Line Location: JOURNAL+15
Function Call: WRITE
  • Prompt: !,?10,"^AUPNVCPT",?25,$J($FN($G(SCDATA(404.98,SCLOG,211,"E")),","),11)
  • Line Location: JOURNAL+16
Function Call: WRITE
  • Prompt: !,?10,"---------",?25,"-----------"
  • Line Location: JOURNAL+17
Function Call: WRITE
  • Prompt: !,?10,"Total",?25,$J($FN(SCTOT,","),11)
  • Line Location: JOURNAL+18
Function Call: WRITE
  • Prompt: !
  • Line Location: JOURNAL+20
Function Call: WRITE
  • Prompt: !,">>> Please verify that enough global disk space and journal space"
  • Line Location: JOURNAL+21
Function Call: WRITE
  • Prompt: !," are available for these anticipated increases."
  • Line Location: JOURNAL+22
Function Call: WRITE
  • Prompt: !
  • Line Location: JOURNAL+23
Function Call: WRITE
  • Prompt: !,">>> Also, please verify that system backup is not scheduled to"
  • Line Location: JOURNAL+24
Function Call: WRITE
  • Prompt: !," run within the start and stop times of this conversion job."
  • Line Location: JOURNAL+25
Function Call: WRITE
  • Prompt: !
  • Line Location: JOURNAL+26
Info |  Source |  Entry Points |  Interaction Calls