|
|
 |
Tracking PREFERENCE Reader Activity
The following summarizes steps that need to be
taken for collecting reader activity data, including help request
data, using the PREFERENCE Reader Tracking feature. The collected
information is not formatted as a summary report, but provides data
that can be utilized to produce such a report. The data consists of
a list of ‘hits’ to individual screens, and identifies the location
and index term associated with the screen.
SET-UP FOR DATA COLLECTION
-
Determine what
volumes contain help screens. If you do not know the name(s) of
the PREFERENCE volume(s) containing help screens, find out by
contacting a PREFERENCE writer familiar with these volumes.
-
Access the Reader
Tracking Facility in each volume containing help screens by
typing ‘track’ at the main writer menu prompt in each volume.
-
Activate tracking
for the entire volume by pressing ENTER with the cursor located
in the first input field, then type “Y” in the field beneath VOL
(track the entire volume) and type “Y” under ACTIVE (activates
data collecting). Press ENTER to save. This must be done for
every volume for which you wish to track reader activity.
-
Data is now being
saved in the GSPREC and GSPRECX files. Unless testing, you must
allow a reasonable amount of time for reader data to accumulate
for a representative listing.
GENERATE LISTING DURING END OF DAY PROCESSING
-
Run the GSPSPLR
utility. This utility will copy the GSPREC and GSPRECX files to
an off-line RECOUT file.
-
The RECOUT file
records associated with tracking are identified by “$TRACK”.
The user may wish to execute utility GSPRSEL to select only the
“$TRACK” reader tracking records from this GSPSPLR RECOUT file.
-
We recommend that
you sort this “$TRACK” reader tracking data prior to executing
GSPTRACK. This will permit the user to create a report sorted
by the reader’s volume location. Please refer to the “Record
Layout of OUTREC file Input to GSPTRACK” table below for
sort key locations within the file when defining the sort key
for your sort program. Below this table you will find some
recommended Sort Key Definitions to align the data for producing
specific reports.
-
Run the GSPTRACK
utility for the final report.
SAMPLE GSPSPLR JCL
JCL for using GSPSPLR to spool log and recording
file data is shown below:
|
Ref.
#s |
JCL |
|
|
//GSPSPLR |
JOB |
|
|
|
//SPOOL |
EXEC |
PGM=GSPSPLR,REGION=1024K |
|
|
//STEPLIB |
DD |
DSN=GSP.LINKLIB,DISP=SHR |
|
|
//GSPDIAG |
DD |
SYSOUT=A |
|
1 |
//GSPLOGX |
DD |
DSN=GSP.A.LOGX,DISP=OLD |
|
|
//GSPLOG |
DD |
DSN=GSP.A.LOG,DISP=OLD |
|
|
//GSPRECX |
DD |
DSN=GSP.A.RECX,DISP=OLD |
|
|
//GSPREC |
DD |
DSN=GSP.A.REC,DISP=OLD |
|
2 |
//LOGOUT |
DD |
UNIT=TAPE,VOL=SER=TVOL1, |
|
|
// |
|
DISP=(MOD,KEEP), |
|
|
// |
|
DSN=GSP.EOD.LOG |
|
3 |
//RECOUT |
DD |
UNIT=TAPE,VOL=SER=TVOL2, |
|
|
// |
|
DISP=(MOD,KEEP), |
|
|
// |
|
DSN=GSP.EOD.REC |
|
|
//SYSIN |
DD |
* |
|
4 |
COPY=REC |
|
|
|
5 |
COPY=LOG |
|
|
|
|
//RESET |
EXEC |
PGM=GSPSPLR,REGION=1024K |
|
|
//STEPLIB |
DD
|
DSN=GSP.LINKLIB,DISP=SHR |
|
|
//GSPDIAG |
DD |
SYSOUT=A |
|
|
//GSPLOGX |
DD |
DSN=GSP.A.LOGX,DISP=OLD |
|
|
//GSPLOG |
DD |
DSN=GSP.A.LOG,DISP=OLD |
|
|
//GSPRECX |
DD
|
DSN=GSP.A.RECX,DISP=OLD |
|
|
//GSPREC |
DD |
DSN=GSP.A.REC,DISP=OLD |
|
|
//SYSIN |
DD |
* |
|
6 |
RESET=REC |
|
|
|
7 |
RESET=LOG |
|
|
|
|
// |
|
|
The following is a description of the above JCL:
|
Ref. # |
Description |
|
1 |
This and the next 3 DD statements define the log and
recording files. Do not specify DISP=MOD. |
|
2 |
A sequential file to receive copied log records. |
|
3 |
A sequential file to receive copied student response
records. |
|
4 |
GSPRECX and GSPREC are copied to RECOUT. |
|
5 |
GSPLOGX and GSPLOG are copied to LOGOUT. |
|
6 |
GSPRECX and GSPREC are file-marked as empty. |
|
7 |
GSPLOGX and GSPLOG are file-marked as empty. |
SAMPLE GSPTRACK JCL
JCL for using GSPTRACK to list reader tracking
records is shown below:
|
Ref. #s |
JCL |
|
1
2 |
//GSPTRACK
JOB
//GSPTRACK
EXEC PGM=GSPTRACK,
// PARM=‘LINECT=60’,REGION=1024K
//STEPLIB
DD DSN=GSP.LINKLIB,DISP=SHR
//GSPDIAG
DD SYSOUT=A
//GSPPRINT
DD SYSOUT=A
//GSPTRK
DD DSN=GSP.SORTED.REC,DISP=OLD
// |
The following is a description of the above JCL:
|
Ref. # |
Description |
|
1 |
The report file. The listing of tracking records appears
here. |
|
2 |
The sorted input file. |
GSPTRACK REPORT
The report displays the following statistics for
each reader tracking record:
-
The date the
tracking request was made
-
The time of day
the tracking request was made
-
The user-ID (or
cross-region sign-on ID) associated with this tracking request
-
The home volume
name (i.e., the volume that the user has signed on to)
-
The current
volume location (volume-file-item #)
-
The source volume
location (volume-file-item #) to identify the source of an embed
-
The last used
index term
-
The reader
tracking entry name/title
-
The type of
reference (POPUP or REFER)
Record Layout of OUTREC file Input to GSPTRACK
|
Field Description |
Position |
Length |
|
Home Program Name |
1 - 6 |
6 |
|
*** RESERVED *** |
7 - 8 |
2 |
|
For Stand-Alone Request
- Numeric UserID on a Numeric System
or Zeroes IF
Alphanumeric System |
9 - 12 |
4 |
|
User’s Name for
Stand-Alone Request |
13 - 32 |
20 |
|
*** RESERVED *** |
33 - 148 |
116 |
|
Current Volume Name |
149 - 154 |
6 |
|
*** RESERVED *** |
155 - 178 |
24 |
|
Current Time-of-Day in
minutes (Binary) |
179 - 180 |
2 |
|
*** RESERVED *** |
181 – 185 |
5 |
|
Current Year (2-digit
in Binary) |
186 |
1 |
|
Current Julian Day (in
Binary) |
187 - 188 |
2 |
|
*** RESERVED *** |
189 - 198 |
10 |
|
"$TRACK" Reader Track
Label ID |
199 - 204 |
6 |
|
*** RESERVED *** |
205 - 248 |
44 |
|
Cross-Region User-ID
for Help Requests;
For Stand-Alone
Requests Alphanumeric User-ID or BLANK for Numeric System |
249 - 257 |
9 |
|
*** RESERVED *** |
258 - 496 |
239 |
|
Current
Volume-File-Item = Current Volume Name (above) – File Name –
Item Number |
|
Current File Name |
497 - 500 |
4 |
|
Current Item Number |
501 - 502 |
2 |
|
|
|
|
|
Source
Volume-File-Item = Source Volume Name – File Name – Item
Number |
|
Source Volume Name |
503 - 508 |
6 |
|
Source File Name |
509 – 512 |
4 |
|
Source Item Number |
513 - 514 |
2 |
|
|
|
Last Index Term Used or
BLANK |
515 - 544 |
30 |
|
Tracking Name or BLANK |
545 – 562 |
18 |
|
Type of Reference
(either "POPUP" for Help Request
or "REFER" for
Stand-Alone Request) |
563 - 567 |
5 |
|
*** RESERVED *** |
568 – 596 |
29 |
RECOMMENDED SORT-KEY-DEFINITIONS
Sort Key Definitions to Track Volume Location
Accessed (volume/file/date/time)
-
Primary Start
Location 149 for length 6 Ascending (current volume name)
-
2nd Start
Location 497 for Length 6 Ascending (current file name)
-
3rd Start
Location 186 for Length 3 Ascending (date accessed)
-
4th Start
Location 179 for Length 2 Ascending (time accessed)
Sort Key Definitions to Track Help Requests
by UserID (type/user-ID/date/time/volume/file)
-
Primary Start
Location 563 for length 5 Ascending (Type of Reference - "POPUP"
for Help Request)
-
2nd Start
Location 249 for length 9 Ascending (Cross-Region User-ID for
Help Requests)
-
3rd Start
Location 186 for length 3 Ascending (date accessed)
-
4th Start
Location 179 for length 2 Ascending (time accessed)
-
5th Start
Location 149 for length 6 Ascending (current volume Name)
-
6th Start
Location 497 for length 6 Ascending (current file name)
DOCUMENTATION
-
http://www.pathlore-mainframe.com/PHOPREF-Doc/PHOPREF-Doc.htm
(PREFERENCE Documentation, then PREFERENCE System Utilities
Guide, then Chapter 6, then GSPSPLR)
-
http://www.pathlore-mainframe.com/PHOPREF-Doc/PHOPREF-Doc.htm
(PREFERENCE Documentation, then PREFERENCE System Utilities
Guide, then Chapter 6, then GSPTRACK)
-
Online PREFERENCE
documentation volume wguide (Writer Guide), Y08A (Tracking
Reader Access).
|
|
|