Name
[Windows Manager]
Installation_folder\RCXCTMG\Charging\bin\productmaintain - Product Master Maintenance
[Linux Manager]
/opt/FJSVctchg/bin/productmaintain.sh - Product Master Maintenance
Synopsis
[Windows Manager]
productmaintain {import | export} accounting_information_file_name
[Linux Manager]
productmaintain.sh {import | export} accounting_information_file_name
Function description
The following functions are provided for the management of product master accounting information.
A function to register L-Platform template accounting information in the product master
A function to output L-Platform template accounting information that has already been registered in the product master to the accounting information file
Note
[Product Master Registration]
The product master contents will be replaced with the contents of the accounting information file.
Specifying a size 0 file will delete the entire contents of the product master.
If an error occurs, all registration processes will be rendered invalid and the master will revert to its former state.
Any amounts for elements that make up the composition of an L-Platform that is not registered in the product master will be treated as \0.
[Product Master Output]
If a file name that already exists is specified as the accounting information file name, it will be overwritten.
In the event that the product master contains no information, a file with size 0 will be output.
Refer to "15.2.2 Accounting Information File Format" in the "Operation Guide CE" for accounting information file.
Manually set the OS file system authorizations in the event that a user other than a system administrator wishes to execute registration. The necessary authorizations are as listed below.
No | Target file/directory | Required permissions |
---|---|---|
1 | Installation_folder\RCXCTMG\Charging\bin | Read and execute |
2 | Installation_folder\RCXCTMG\Charging\bin\productmaintain.bat | Read and execute |
3 | Installation_folder\RCXCTMG\Charging\bin\productmaintain.jar | Read |
4 | Installation_folder\RCXCTMG\Charging\lib | Read and execute |
5 | Installation_folder\RCXCTMG\Charging\lib\log4j-1.2.15.jar | Read |
6 | Installation_folder\RCXCTMG\Charging\conf | Read and execute |
7 | Installation_folder\RCXCTMG\Charging\conf\productmaintain.properties | Read |
8 | Installation_folder\RCXCTMG\Charging\log | Read and execute |
9 | Installation_folder\RCXCTMG\Charging\log\Productmaintain.log | Read and write |
10 | Installation_folder\RCXCTMG\Charging\log\Productmaintain_debug.log | Read and write |
No | Target file/directory | Required permissions |
---|---|---|
1 | /opt/FJSVctchg/bin | Read and execute |
2 | /opt/FJSVctchg/bin/productmaintain.sh | Read and execute |
3 | /opt/FJSVctchg/bin/productmaintain.jar | Read |
4 | /opt/FJSVctchg/lib | Read and execute |
5 | /opt/FJSVctchg/lib/log4j-1.2.15.jar | Read |
6 | /etc/opt/FJSVctchg/conf | Read and execute |
7 | /etc/opt/FJSVctchg/conf/productmaintain.properties | Read |
8 | /var/opt/FJSVctchg/log | Read and execute |
9 | /var/opt/FJSVctchg/log/Productmaintain.log | Read and write |
10 | /var/opt/FJSVctchg/log/Productmaintain_debug.log | Read and write |
Options
Specify the accounting information file name.
Accounting information file data is registered in the product master when import is specified.
Product master data is output to the accounting information file when export is specified.
The accounting information file name must be specified using the absolute path.
Requirements
Infrastructure administrator with OS administrator privilege
Admin server
Example
> productmaintain import mmt.csv (Product Master Registration) > productmaintain export mmt.csv (Product Master Output)
# productmaintain.sh import mmt.csv (Product Master Registration) # productmaintain.sh export mmt.csv (Product Master Output)
Exit Status
This command returns the following values:
The command executed successfully.
An error has occurred.