ca_merge - Examples
The following are examples of syntax for the ca_merge command:
Specify the machine on which the source being merged is located
- Use the following command to specify that the source machine for the merge is by default the localhost:
- Use the following command to specify that the source machine for the merge is hostA:
ca_merge –tape TAPE01
ca_merge -cahost hostA –tape TAPE01
Confine the range of the source
- Use the following command to merge all sessions of tapes belonging to a group of localhost:
- Use the following command to merge all sessions of tape TAPE01 on hostA:
- Use the following command to merge all sessions of tape TAPE01 with tapeid B5E3 on hostA:
- Use the following commands to merge a specified session range:
ca_merge -group <group name> -tape <tape name> [<tape ID>]
ca_merge –cahost hostA –tape TAPE01
ca_merge –tape TAPE01 B53E
ca_merge –cahost hostA –tape TAPE01 –allsessions
ca_merge –cahost hostA –tape TAPE01 –session 6
ca_merge –tape TAPE02 –session 2-8
Confine the time at which the merge job will run
- Use the following command to specify the time of the current day that the merge will be performed:
- Use the following command to specify the time and date that the merge will be performed:
- Use the following command to submit the merge job on hold:
- Use the following command to specify run job now
ca_merge –cahost hostB –tape TAPE03 –session 6-9 at 11:20
ca_merge –cahost hostB –tape TAPE03 –session 6-9 -at 11:20 -on 03/25/2007
ca_merge –cahost hostB –tape TAPE03 –session 6-9 -hold
ca_merge –cahost hostB –tape TAPE03 –session 6-9 -runjobnow
Wait for Job Status
- Use the following command to query the job status at a specified polling interval (secs) until the job is finished.
ca_merge –cahost hostB –tape TAPE03 –session 6-9 –runjobnow –waitforjobstatus 60
More information: