Example 1
SREPORT 003 is requested for the first DC/UCF session occurring between 8:30 and 9:50 PM on March 5, 1999.
DATABASE DICTNAME=CULPDICT INPUT 280 F 8120 USE 'SREPORT 000' (99064 2030 99064 2150 1) USE 'SREPORT 003'
As shown in the output generated for SREPORT 000, the first session within this time frame begins at 20:32 PM with startup record number 5703.
THE FILE BEGINS AT THE FOLLOWING DATE AND TIME: 99064 19:13
RECORD NUMBER JULIAN DATE TIME
1,289 99064 19:36
2,415 99064 19:49
5,703 99064 20:32
7,905 99064 21:07
Example 2
SREPORT 012 is requested for the second DC/UCF session occurring in the period beginning at 6:00 AM on 10/19/99 and ending at 6:00 PM on 10/19/99. Input consists of the archived system log file created by means of the ARCHIVE LOG utility. Input parameters will not be listed.
PARAM=NOLIST IN 280 V USE 'SREPORT 000' (99292 0600 99292 1800 2) USE 'SREPORT 012'
Example 3
SREPORTs 010 and 005 are requested for all DC/UCF sessions in the period beginning at 8:00 AM on 11/22/99 and ending at 4:00 PM on 11/22/99. Input consists of the output file created by a previous run of SREPORT 099; PS indicates a sequential file. By default, input parameters will be listed.
IN 280 F 8120 PS USE 'SREPORT 000' (99326 0800 99326 1600) USE 'SREPORT 010' USE 'SREPORT 005'
Example 4
Statistics report modules SREPORT 000 and SREPORT 012 are stored in the CULPDICT data dictionary. The SELECT parameter selects only those records stored in the input buffer that specify user ids TAF and TNC. The code for SREPORT 012 identifies TSTUSID as the user-id field name.
DATABASE DICTNAME=CULPDICT
IN 280 V
USE 'SREPORT 000'
SELECT BUFFER WHEN TSTUSID EQ ('TAF' 'TNC')
USE 'SREPORT 012'
|
Copyright © 2013 CA.
All rights reserved.
|
|