07-06-2007
Quote:
Originally Posted by
kamitsin
Could you please upload the script so that we can have a look?
`echo userid=$userrep/
$UDD_CMT_LVLPS2@$dsnrep control=$ctlfile data=$datafile log=$logfile bad=$badfile $ldrval $ldrparams > $pthtest/passwd.par`
The variable $UDD_CMT_LVLPS2 is not defined any where,I am 100% sure it is environment variable.But in which file it is configured.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I need some help to understand system and user environment files, such as .profile and others. I can edit my .profile file in my home directory. What I only touch in this file is the $PATH variable and when I am logged in under a telnet session, the PATH that I specify is used and... (8 Replies)
Discussion started by: jacobsa
8 Replies
2. UNIX for Advanced & Expert Users
what is the environment variable used for getting the <machine name> .
hello $LOGNAME,welcome to <??>
I want to print the machine name in the place of <??>
Please help. (6 Replies)
Discussion started by: mehuldoshi
6 Replies
3. UNIX for Dummies Questions & Answers
$ . oraenv (when i type this at the prompt)
ORACLE_SID = ? ( I get this)
I understand that . oraenv is a startup script and it has the ENV variable ORACLE_SID.
But pls let me know what more it explains and also how to change the env variable here. (2 Replies)
Discussion started by: thumsup9
2 Replies
4. Shell Programming and Scripting
First of all I am using C shell.
I have a variable destDirectory that holds a path.
the path includes an environment variable($user)
when I try to execute a command within the script, the $destDirectory gets replaced with the path, but the environment variable is not replaced. I end up... (2 Replies)
Discussion started by: karyn1617
2 Replies
5. Shell Programming and Scripting
In our current environment we have each of our testing levels on individual servers (running Korn shell). So, there is a server for dev and test, and 2 servers for qa and prod. I have several scripts that utilize a code that is dependant on the server where it resides. While I was the only person... (3 Replies)
Discussion started by: kaiser
3 Replies
6. Shell Programming and Scripting
Hi,
I have to set bunch of variables and all other programs like make,
perl will use them ..
Here are my constraints and requirements ...
The variables have to be set by executing a script that runs
in c shell. I cannot source the script since people who use this
script might be on... (8 Replies)
Discussion started by: sharanbr
8 Replies
7. UNIX for Advanced & Expert Users
There is shell script which contains some variables .
These variables are used , but they have not declared in the script.
I think its a environment variable, so I want to know where these variables are set and given values
In .profile or .login..or where to c
Please give the full path and... (1 Reply)
Discussion started by: tkbharani
1 Replies
8. Shell Programming and Scripting
i am not clear at some places i saw that assigning a env var with colon ':' like
export PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:.:/usr/platform/sun4u/sbin
here you can find : and a . and again :
could some one explain how it works...
see all is starting from root directory,
how : is used and... (6 Replies)
Discussion started by: Arunprasad
6 Replies
9. Shell Programming and Scripting
I'm trying to make a sed substitution where the substitution pattern is an environment variable to be expanded, but the variable contains a "slash".
sed -e 's/<HOME_DIRECTORY>/'$HOME'/'This gives me the following error:
sed: -e expression #1, char 21: unknown option to `s'Obviously this is... (2 Replies)
Discussion started by: Ilja
2 Replies
10. Solaris
I have given the relevant details below. Why are the libraries in
/export/home/builds/pc9x_root/960/build/powrmart/pmbuild/bin/SunOS.64.r are invisible to ldd?
%setenv
... (3 Replies)
Discussion started by: old_as_a_fossil
3 Replies
LEARN ABOUT DEBIAN
cinitlog
CLOGIT(3) Common Library Functions CLOGIT(3)
NAME
Clogit - log server messages in local log or in system logger
SYNOPSIS
#include "Clog.h"
int Cinitlog (char *cmd, char *logfile)
int Clogit (int level, char *func, char *msg, ...)
int Cvlogit (int level, char *func, char *msg, va_list ap)
DESCRIPTION
Cinitlog initializes the server logging routines.
Clogit logs server messages in a local log or in the system logger.
Cvlogit is the same as Clogit but takes a va_list instead of a variable number of arguments.
cmd specifies a string to be prepended to the syslog messages.
logfile
specifies a path for the server log file. If set to syslog, the system logger will be used. By default, only messages with level at
least as important as LOG_INFO will be logged. The level threshold can be changed with the environment variable LOG_PRIORITY.
level is associated with the message. The possible values, in order of decreasing importance are:
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
LOG_INFO
LOG_DEBUG
func is the name of the function that issues the message.
msg is a format as in printf.
RETURN VALUE
These routines return 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
EFAULT logfile is a NULL pointer.
ENAMETOOLONG The length of logfile exceeds CA_MAXPATHLEN.
LCG
$Date$ CLOGIT(3)