Cisco Headend System Release 2.7 Installation Guide

Page of 252
 
Chapter 16    Convert Binary IPPV Purchase Reports Into Text Format with the parseIppvRept Utility 
 
 
 
174 
4020695 Rev C 
Run the parseIppvRept Utility 
The following information provides instructions to run the parseIppvRept utility. 
 
Running the parseIppvRept Utility 
Follow these instructions to run the parseIppvRept utility. 
Note: This procedure uses two examples: one showing comma-delimited output, 
and the other showing output in block-type format. Both examples direct output to a 
file for later examination. 
1  If necessary, open an xterm window on the DNCS. 
2  Type ls  -tla  /dvs/ftp/purchaseReportArchive and then press Enter. The system 
lists the contents of the /dvs/ftp/purchaseReportArchive directory, newest files 
first. 
3  Decide which IPPV purchase report you want to convert to text format. 
Note: The most recent files are listed first. 
4  Choose one of the following options: 
 
To convert an IPPV purchase report with comma delimited output, go to step 
5. 
 
To convert an IPPV purchase report with block-type output, go to step 7. 
5  Type parseIppvRept  -I  [input file name]  -O  [output file name]  -c and then 
press Enter
Notes:   
 
 
Substitute the name of the binary IPPV purchase report in the 
/dvs/ftp/purchaseReportArchive directory for [input file name].  
Important: Be sure to include the complete path to the 
purchaseReportArchive directory. 
 
Substitute the path and name of the output file you want to create for [output 
file name]. 
Important: If you store this file in the /tmp directory of the DNCS, the 
contents of the /tmp directory are lost whenever the DNCS reboots. To keep 
this file for an extended period of time, consider storing the file in the 
/dvs/dncs/tmp directory.  
Example: Type (all on one line) 
parseIppvRept  -I  /dvs/ftp/purchaseReportArchive/ippv200303262350.xdr  -O  
/dvs/dncs/tmp/ippv20030326.out  -c
 and then press Enter
Result: The utility converts the binary IPPV purchase report to text format, using 
comma delimited output, and stores it in the specified directory.