Job Management Partner 1/Base User's Guide
Function
The Jislckext command extends or decreases the number of entries in the lock table. If you need to display the status of the lock table before or after executing the Jislckext command, the steps are as follows.
- In Windows:
- Specify the -t option of the Jislckext command to obtain the number of current lock entries.
Specify and run the command as follows:
Jislckext -t- Change the number of entries.
Specify and run the command as follows:
Jislckext number-of-entries- Specify the -t option of the Jislckext command to verify that the number of the lock entries has been changed.
Specify and run the command as follows:
Jislckext -t
- In UNIX:
- Use the ipcs command to check the segment size of the shared memory.
Specify and run the command as follows:
ipcs -ma | grep 0x88- Calculate the number of entries.
You can use the following expression to obtain the number of entries:
(ipcs-command-execution-result - 36972) / 104- Change the number of entries.
Specify and run the command as follows:
Jislckext number-of-entries- Use the ipcs command to verify that the segment size of the shared memory has been changed:
ipcs -ma | grep 0x88
Format
Jislckext number-of-entries
Required execution permission
In Windows: Administrators (If User Account Control (UAC) for Windows is enabled, you must execute the command from the administrator console.)
In UNIX: Superuser
Command directory
- In Windows:
- installation-folder\bin\
- In UNIX:
- /opt/jp1base/bin/
Arguments
number-of-entries
Recreates the lock table with the specified number of entries.
Notes
- If the lock table is being used by another process, this command returns the number of entries in use.
- You must stop the JP1/Base service and JP1/AJS service to change the number of entries in the lock table. You must also complete ISAM file operations, maintenance utility commands, and commands for operating on JP1/AJS jobnets.
- The lock table can have a maximum of 32,767 entries.
Return values
0 Normal end 1 Abnormal end
All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.