forked from vlachoudis/brexx
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathSTMTT.rexx
24 lines (24 loc) · 865 Bytes
/
STMTT.rexx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* -----------------------------------------------------------------
* Part One Sticky Note for Master Trace Table
* -----------------------------------------------------------------
*/
alias=gettoken() /* define alias (for stems) */
call fssticky 'Trace Table',alias,,,10,50 /* Create FSS Screen defs */
sticky.alias.__refresh=15 /* refresh every n seconds */
/* rexx call to update sticky note */
sticky.alias.__fetch="call StickyMasterTT "alias",10"
return 0
/* -----------------------------------------------------------------
* Part Two Procedure to create the sticky Content
* -----------------------------------------------------------------
*/
StickyMasterTT:
parse arg __alias,maxl
if mtt('REFRESH')<0 then _line.0=0
j=0
maxl=max(_line.0-maxl+1,1)
do i=maxl to _line.0
j=j+1
sticky.__alias.j=_line.i
end
return 0