10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I want to retrieve the base table name for a table and replace the table with the view name in the file.
I was trying to retrieve the base with the below db2 command but i am getting "1" as return value.
Could you anyone please assist ?
Table_name=system("db2 -x... (4 Replies)
Discussion started by: Nandy
4 Replies
2. Shell Programming and Scripting
How to connect db2 IBM on AIX using SSH - SecureCRT ?
Please help me. (3 Replies)
Discussion started by: meomeo87
3 Replies
3. Shell Programming and Scripting
I want to connect to DB2 database which is mainframes using a unix script and run query and get the result set into the unix box.
Is this acheivable using db2 connect? pls help me with a sample script which can perform the same. (1 Reply)
Discussion started by: midhun19
1 Replies
4. Shell Programming and Scripting
Hi All,
I want to connect two tables in DB2 using shell script and then compare the contents of two tables field by field.and i should return on the screen the un matched records ..
Could any one please help me in connecting database tables using Unix and retriving data from the same. (1 Reply)
Discussion started by: kanakaraju
1 Replies
5. Shell Programming and Scripting
db2 command produces this output:
Database 1 entry:
Database alias = DB1
Database name = DB1
Node name = ND1
Database release level = a.00
Comment =
Directory entry type ... (5 Replies)
Discussion started by: valero
5 Replies
6. AIX
Dear friends I am going to study DB2 and i dont have any experience with any DB's.. Please provide me with some links or pdf's for DB2 starters.
any advice will be very usefull (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies
7. AIX
Am trying to export the content of Stored Procedure to a file using GET ROUTINE command. After executing the command first few lines of the file contains ASCII characters though i have original text following that.
Any help is appreciated. (0 Replies)
Discussion started by: mvictorvijayan
0 Replies
8. AIX
Hi All,
My company is going to upgrade the db2 on the one node hacmp, I think there's one backup.
After the upgrade of the db2. Do I need to restart cluster and server? I mean, do a graceful shutdown of the cluster, reboot the server and do a cluster start. Is that it? Do I need to reboot... (1 Reply)
Discussion started by: itik
1 Replies
9. UNIX for Dummies Questions & Answers
Hi...
I m working on UNIX z/OS. Actually i have to pass the parameters from the JCL to java-db2 program thru PARM. I am able to pass the arguments but the problem occured is, it is throwing an exception while loading the db2 driver as 'Javaclassnotfound:com.ibm.db2.jcc.DB2Driver'... (0 Replies)
Discussion started by: Sujatha Gowda
0 Replies
10. AIX
Hi everyone.
I am currently looking for a monitor to monitor my DB2 UDB database, which runs on AIX 5.3. Does anyone here use any good ones or has anyone heard of any good ones?
I especially need to monitor which applications run at any given time, so that I am able to ballance the workload... (0 Replies)
Discussion started by: sprellari
0 Replies
BOS_GETRESTART(8) AFS Command Reference BOS_GETRESTART(8)
NAME
bos_getrestart - Displays the automatic restart times for server processes
SYNOPSIS
bos getrestart -server <machine name> [-cell <cell name>]
[-noauth] [-localauth] [-help]
bos getr -s <machine name> [-c <cell name>] [-n]
[-l] [-h]
DESCRIPTION
The bos getrestart command displays two restart times from the /etc/openafs/BosConfig file on the server machine named by the -server
argument:
o The general restart time at which the BOS Server process automatically restarts itself and all processes marked with status "Run" in
the BosConfig file. The default is Sunday at 4:00 a.m.
o The binary restart time at which the BOS Server automatically restarts any process for which the time stamp on the binary file in the
/usr/lib/openafs directory is later than the last restart time for the process. The default is 5:00 a.m. Use the bos getdate command to
list a binary file's timestamp, and the -long flag to the bos status command to display a process's most recent restart time.
Use the bos setrestart command to set the restart times.
OPTIONS
-server <machine name>
Indicates the server machine for which to display the restart times. Identify the machine by IP address or its host name (either fully-
qualified or abbreviated unambiguously). For details, see bos(8).
-cell <cell name>
Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8).
-noauth
Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see
bos(8).
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket
to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see
bos(8).
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
The output consists of two lines:
Server <machine_name> restarts at <time>
Server <machine_name> restarts for new binaries at <time>
Possible values for <time> include:
o "never", indicating that the BOS Server never performs that type of restart.
o "now", indicating that the BOS Server performs that type of restart only each time it restarts.
o A specified day and time, indicating that the BOS Server performs that type of restart once per week. Example: "sun 4:00 am".
o A specified time, indicating that the BOS Server performs that type of restart once per day. Examples: "11:00 pm", "3:00 am".
EXAMPLES
The following example displays the restart times for the machine "db2.abc.com":
% bos getrestart db2.abc.com
Server db2.abc.com restarts at sun 4:00 am
Server db2.abc.com restarts for new binaries at 2:15 am
In the following example, the issuer abbreviates the machine name "fs1.abc.com" to "fs1", relying on the cell's name server to resolve the
name. The output echoes the abbreviated form.
% bos getrestart fs1
Server fs1 restarts at sat 5:00 am
Server fs1 restarts for new binaries at 11:30 pm
PRIVILEGE REQUIRED
None
SEE ALSO
BosConfig(5), KeyFile(5), bos(8), bos_getdate(8), bos_setrestart(8), bos_status(8)
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 BOS_GETRESTART(8)