Generates reports for regional NPAC databases and supplemental databases.
The user must be defined as a member of the primary group lsms.
None.
# Generate SPA report for MidAtlantic NPAC $ $LSMS_DIR/report MidAtlanticDB supDB report.output SPA # Generate SBL report for MidAtlantic NPAC for LRN 9194605500 $ $LSMS_DIR/report MidAtlanticDB supDB report.output SBL 9194605500 # Generate SPL report > $LSMS_DIR/report MidAtlanticDB supDB report.out SPL # Generate SBS report for Midwest NPAC for all Subscriptions having a service provider of TKLC and a TN in the range of 9194600000 to 9195600000 $ $LSMS_DIR/report MidwestDB supDB report.out SBS TKLC 9194600000 9195600000 # Generate SBT report for Western NPAC for all Subscriptions having a TN in the range of 9194600000 to 9195600000 $ $LSMS_DIR/report WesternDB supDB report.out SBT 9194600000 9195600000
Table A-25 shows the files for the report command.
Filename |
Type |
Location |
---|---|---|
Output |
Report Output File |
Directory where command is run |
The report command can process approximately 300-500 records per second, depending upon the type of report.
To view the report, change directory to the directory where the command was run and use any text editor to open the file named in the command. If you run the command from the $HOME/LSMSreports directory, you can also view the report through the graphical user interface; for information, refer to the Database Administrator's Guide.
Exit Code |
Message |
Cause |
Suggested Recovery |
---|---|---|---|
1 |
DATABASE <name> NOT FOUND |
Specified database could not be found |
Verify that the database exists and try the command again. |
1 |
disk space check failed |
Attempt to check available disk space failed |
Remove unnecessary reports from disk. |
1 |
End TN must be greater than Start TN value. |
The start TN is greater than the end TN in the range of TNs to generate an LSMS subscription report |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
Insufficient disk space available to generate report. N bytes of disk space required: n bytes of disk space available |
Insufficient disk space to save report |
Remove unnecessary reports from disk. |
1 |
Invalid End TN value - <EndTN> |
The last TN in the range of TNs to generate an LSMS subscription report is out of range. The valid range of values for a telephone number is 0000000000...9999999999. |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
Invalid Report Type Specified <Report Type> |
The value specified for the ReportType parameter is not valid. |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
Invalid Start TN value - <StartTN> |
The first TN in the range of TNs to generate an LSMS subscription report is out of range. The valid range of values for a telephone number is 0000000000...9999999999. |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
LRN argument is required for SBL/NBL report | If <ReportType> parameter is specified as SBL or NBL, the <LRN> parameter must also be specified |
Try the command again using the correct syntax and supplying all required arguments. |
3 |
LRN argument must be exactly 10 numeric digits |
An <LRN> parameter that had less than 10 digits, more than 10 digits, or non-numeric characters was specified |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
Missing mandatory arguments |
The command was specified with an insufficient number of arguments. |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
NO ACCESS RIGHTS TO DATABASE |
Requesting operator does not have access rights to the database |
Change user to a username that has access rights to the database. |
4 |
Service Provider argument must have from 1 to 4 characters |
The <SP> parameter was specified with more than 4 characters |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
Service Provider argument required for SBS/NBS report |
If <ReportType> parameter is specified as SBS or NBS, the <SP> parameter must also be specified |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
StartNPB argument is required for NBN report |
If <ReportType> parameter is specified as NBN, the <StartNPB> parameter must also be specified |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
StartTN argument is required for SBT report |
If <ReportType> parameter is specified as SBT, the <StartTN> parameter must also be specified |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
Unable to determine home directory of user - report could not be generated |
Report could not be stored in home directory of user |
Contact the My Oracle Support (MOS). |
1 |
Unable to open <filename> - report could not be generated |
Could not open the file in which to save the report |
Contact the My Oracle Support (MOS). |
1 |
Usage: report <regional_database_name sup_database_name> output file <report_type>[LRN|SP] |
Operator did not supply the correct number of arguments |
Try the command again using the correct syntax and supplying all required arguments. |
1 |
Wrong number of arguments for Split report |
The <ReportType> parameter was specified as SPLA or SPLR, but the wrong number of parameters was specified |
Try the command again using the correct syntax and supplying all required arguments. |