	.ENABLE GLOBAL
	.ENABLE SUBSTITUTION
	.SETS UIC <UIC>
	.SETS LI ""
	.SETS MP ""
	.IFNDF $SYSAC .ASK $SYSAC HAVE YOU INCORPORATED THE SYSTEM ACCOUNTING DATA BASES
	.IFF $SYSAC ; TASKLOG WILL NOT WORK UNLESS THE DATA BASE CHANGES TO SYSCM, TDSCH
	.IFF $SYSAC ; AND DATA BASES FOR TT:, VT: AND CO: HAVE BEEN MADE.
	.IFF $SYSAC ; PLEASE MAKE THESE CHANGES(SLP FILES PROVEDED), GEN A SYSTEM
	.IFF $SYSAC ; AND TRY AGAIN.
	.IFF $SYSAC /
	.IFNDF $TICS .ASK CLK DO YOU HAVE A PROGRAMABLE CLOCK
	.IFDF $TICS .GOTO 5
	.IFT CLK .SETN $TICS 144
	.IFF CLK .SETN $TICS 74
.5:	.SETN TICS $TICS+0.
	.IFDF CLK ; YOUR CLOCK IS ASSUMED TO "TIC" 'TICS' TIMES/SEC
	.IFNDF $RESLB .ASK $RESLB DO YOU WISH TO BUILD TASKLOG WITH AN FCS RESIDENT LIBRARY
.10:	.IFDF $ASM .GOTO START
	.SETF $MAP
	.SETF $LIST
	.IFNDF $TKB .SETF $TKB
	.IFNDF $ASM .SETF $ASM
	.SETF $TKB
	.ASK $ASM ASSEMBLE
	.IFT $ASM .ASK $LIST LIST
	.IFT $LIST .SETS LI ",TI:"
.START:	.IFT $ASM PIP TASKLOG.OBJ;*/DE
	.IFT $ASM .OPEN TSKLOGASM.CMD;1
	.IFT $ASM .DATA TASKLOG'LI'=LB0:[1,1]EXEMC/ML,[200,200]RSXMC/PA:1,-
	.IFT $ASM .DATA SY:'UIC'TASKLOG
	.IFT $ASM .CLOSE
	.IFT $ASM MAC @TSKLOGASM
	.IF <EXSTAT> NE 1 /
	.IFT $ASM PIP TSKLOGASM.CMD;*/DE
	.IFT $TKB .GOTO START2
	.ASK $TKB TASKBUILD
	.IFF $TKB .GOTO .EEND
	.IFT $TKB .ASK $MAP MAP
	.IFT $MAP .SETS MP ",TI:"
.START2:.IFT $TKB PIP TSKLOG.TSK;*/DE
	.OPEN TSKLOGBLD.CMD;1
	.DATA TSKLOG.TSK;1/PR/CP'MP'=TASKLOG,[1,24]MCR/LB
	.DATA LB:[1,1]EXELIB/LB
	.DATA LB:[1,54]RSX11M.STB/SS
	.DATA LB:[1,1]SYSLIB/LB/MA
	.DATA /
	.DATA ASG=SY0:1
	.DATA ASG=TI0:2
	.IFT $RESLB .DATA LIBR=FCSRES:RO
	.DATA STACK=64
	.DATA GBLDEF=$$TKPS:'$TICS'
	.DATA PRI=65
	.DATA TASK=TSKLOG
	.DATA //
	.CLOSE
	TKB @TSKLOGBLD
.EEND:	;EOF TASKLOG
	TCF 7
