cscprecache (Pre-caching format definitions and data transformation definitions)
- Organization of this page
Format
cscprecache [-h] -user login-user-ID -pass login-password -csc HCSC-server-name [-name service-ID]
Function
Parses all the format definitions and data transformation definitions defined in a component and caches the definitions on an HCSC server before the real operations start. This improves the request processing performance.
By setting up default values for mandatory options, such as the login user ID, in the HCSC-Manager command definition file, you can omit the specification of these values in this command. You can set the maximum number of threads to be used for sending the parsing requests to multiple components by defining the value in a property of the HCSC-Manager definition file (cscmng.properties). You can also set the timeout value for the pre-cache processing in each component by defining the value in a property of the HCSC server runtime definition file (cscsvconfig.properties).
For details on how to use this command, see 5.3.20 Performing cache of the definition information of the business process in the Service Platform Setup and Operation Guide.
Arguments
-h
Displays the usage of commands. When you specify this option, all other options are ignored even if specified.
-user login-user-ID ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))
Specifies the user ID that is used to log in to HCSC-Manager.
-pass login-password ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 16 characters))
Specifies the password that is used to log in to HCSC-Manager.
-csc HCSC-server-name ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))
Specifies the name of the HCSC server that sends the parsing request.
-name service-ID ~ <one-byte alphanumeric characters and underscores (_)> ((1 to 8 characters))
Specifies the name of the service that sends the parsing request.
Examples of input
- (1) To parse all the components in an HCSC server
cscprecache -csc HCSC-server-name
- (2) To parse only a specific component
cscprecache -csc HCSC-server-name -name service-ID
Return values
|
Return value |
Meaning |
|---|---|
|
0 |
The command terminated normally. |
|
1 |
The command terminated abnormally. |
|
3 |
An exclusion error occurred. |
|
9 |
An error occurred when checking the execution permission. |
Notes
-
An error occurs if you execute this command for a service adapter or a user-defined reception.
-
Before you execute the command, make sure that the upper cache limit for the properties formatdef-maxcache-num and transformdef-maxcache-num in the HCSC server runtime definition file is greater than the number of format definitions and data transformation definitions that are set up. If the upper cache limit is smaller than the number of format definitions and data transformation definitions that are set up, the cache is deleted, so the performance might not improve.