Guide for Report Thread Monitor

8
Guide for Thread Monitor 1. Using tool thread Monitor 2. Running this tool and login with address name. 3. Configure this tool for connect to database Open menu system thread Manager Write down the thread name as the report name for Example “Report_VTI”, and for class name just choose the style file, if the report of VTI have more than one report so just choose report_sys.export_multifile ” and if the report only one report so choose in class name “report_sys.export_onefile ”. 4. Setting Thread Monitoring Tool for Connect to database dRego.JS +670 755 113 67 [email protected]

Transcript of Guide for Report Thread Monitor

Guide for Thread Monitor

1. Using tool thread Monitor

2. Running this tool and login with address name.

3. Configure this tool for connect to database Open menu system thread Manager

Write down the thread name as the report name for Example“Report_VTI”, and for class name just choose the style file, ifthe report of VTI have more than one report so just choose“report_sys.export_multifile” and if the report only one report so choosein class name “report_sys.export_onefile”.

4. Setting Thread Monitoring Tool for Connect to databasedRego.JS+670 755 113 67 [email protected]

a. SubFIleParameter: Check up the sub file parameter for example

sub file parameter in report VTI_Daily

Type the file name of report and then copy the script from SQL, and paste into fileSQL in subFIle Parameter of Thread tool. Add more if the report is multifile.

b. File Style: choose this option if the report will be running everyday

dRego.JS+670 755 113 67 [email protected]

c. Database parameter: database parameter is the one script for connect to data base by using this tool, for example the database parameter in report VTI_Daily(jdbc:oracle:thin:@(DESCRIPTION =(LOAD_BALANCE = yes)(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.45.42)(PORT = 1521))(ADDRESS = (PROTOCOL = TCP)(HOST = 10.226.45.52)(PORT = 1521)))(CONNECT_DATA =(FAILOVER_MODE =(TYPE = select)(METHOD = basic)(RETRIES = 180)(DELAY = 5))

(SERVICE_NAME = bill))))

Input username and passwd of the account report that weprocessing every day, for example running business report

dRego.JS+670 755 113 67 [email protected]

daily in database of RAC_BILLING user: REPROT_DAILY andPasswd: *********

d. Procedure: copy the script procedure in SQL and paste into editContent of text field in this tool.

e. EmailParameter: configure in email parameter that is- Send email: y- Mail host: 10.226.46.16- Mail user: [email protected] Mail Passwd: *********- Mail Subject: write the name of report for example

“Report VTIDaily”- Mail Content: you can add it, if needed- Mail to :- Mail CC:

dRego.JS+670 755 113 67 [email protected]

f. FileParameter: setting the parameter of file it’s like!- FilePrefix : WriteDown the Report Name, for ExampleReport_VTI_ the ending of the file name should becontinue with ( _ ) it will continue for ddmmyyyy.

- FIleDir: the place of storing the data report.- TempletefileDir: the directory or contain oftemplate for report

- Zip: choose this option for NO or Yes.

dRego.JS+670 755 113 67 [email protected]

g. BackDay: setting this option for one day before now, forexample today is 18th-Dec-2013, we running the report just backto one day before now that is 17th-Dec-2013.

h. SmsParameter: for this setting, we need it sometimes because,when running the report daily, don’t need to add number phoneand contain for inform to each other about report. So let thisstep.

i. LogDir: this step for create a Directory for all the logfiles.

dRego.JS+670 755 113 67 [email protected]

j. ConnectDB: for this step choose the manual connecting to DB

k. DelayTime: setting this delay time to 100, so when the reportcannot run or got some problem, then in 100 second the processwill be running automatic again (Loop).

5. Test the process of report after complete all setting.

Check the process running normal by check out the log process**********************************************************************************************************************************DECLAREBEGIN htds.rp_namzl_qteve_vti (TO_CHAR (SYSDATE - 1, 'dd/mm/yyyy')); END;12/12 11:08:50 xong report.namzl_bc_qteve_vti_1 11-DEC-1312/12 11:08:50 xong report.namzl_bc_qteve_vti_2 11-DEC-1312/12 11:08:50 xong report.hieult_bc_qteve_vti_sms 11-DEC-1312/12 11:08:50 xong report.hieult_th_cdr_inter_voice_out 11-DEC-1312/12 11:08:50 xong report.hieult_rp_inter_voice_out 11-DEC-1312/12 11:08:50 xong report.cdr_smsc_sms_inter_out 11-DEC-1312/12 11:08:50 Completed

dRego.JS+670 755 113 67 [email protected]

12/12 11:08:50 Query...12/12 11:08:50 T?o file báo cáo...12/12 11:08:50 - T?o file E:\SONTN\file\VTI_Dayly/122013\Rp_qtve_vti_1_20131211.xls12/12 11:08:51 - T?o file E:\SONTN\file\VTI_Dayly/122013\rp_qteve_vti_2_20131211.xls12/12 11:08:51 - T?o file E:\SONTN\file\VTI_Dayly/122013\rp_inter_sms_out_20131211.xls12/12 11:08:52 - T?o file E:\SONTN\file\VTI_Dayly/122013\dest_black_list_20131211.xls12/12 11:08:52 - T?o file E:\SONTN\file\VTI_Dayly/122013\bc_qteve_vti_sms_20131211.xls12/12 11:08:52 - T?o file E:\SONTN\file\VTI_Dayly/122013\rp_inter_voice_out_20131211.xls12/12 11:08:53 Nén file: RP_VTI_DAILY_20131211.zip12/12 11:08:53 G?i email...:12/12 11:08:53 To: [email protected];[email protected];[email protected];[email protected];[email protected];[email protected];[email protected];[email protected];12/12 11:08:53 CC: [email protected];**********************************************************************************************************************************

dRego.JS+670 755 113 67 [email protected]