06-09-2008
Write one script which will source automaticallly all the functions used in any script . So user wont have to manually source every function before using it in his/her script.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do we change our default shell so it will be loaded everytime we login, automatically. i want to use bash instead of the ksh shell that is default. but it irritates me when i have to type it in everytime, just lazy but i´m sure its a simple way someone could tell me? (8 Replies)
Discussion started by: eeldivady
8 Replies
2. Shell Programming and Scripting
Hi All
I am new to unix.
I need a shell script to load a datafile in to oracle.
I already have a control file, and data file. all I need is if i execute the shell it must load the data using the ctl file to table.
Control file : PAY0001.ctl
Datafile : mon_grs_det.dat
log file :... (3 Replies)
Discussion started by: raghuraja_r
3 Replies
3. 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
4. Shell Programming and Scripting
Hi All,
I am trying to write a shell script in which the contents of a small tar file is loaded into a variable and the same variable contents is moved into another file and finally untaring of the newly created file is done.
The Shell Script is as follows:
#----Start Of The... (11 Replies)
Discussion started by: wini008
11 Replies
5. Shell Programming and Scripting
Hi,
I need to perform some validation steps on the files before I start loading them.
1. I need to check for the availabilty of the file in expected path with expected name.
2. I need to check If the file format is correct.
a. confirm if correct delimiter is used.
b.... (1 Reply)
Discussion started by: smileyreddy
1 Replies
6. Shell Programming and Scripting
Hi ,
I have a scenario, i have a directory where i receive around 14-15 files at a interval of 20-40 min not fixed, i want to write a unix scripts which invoke sqlldr command to load files into oracle automatically as soon as the file hit the directory.
Any help will be appreciated.
... (4 Replies)
Discussion started by: guddu_12
4 Replies
7. Shell Programming and Scripting
Hi All,
O/S :AIX 6.1 64 bits
The following shell script errors out while loading:
cat XDOLoad.sh
#!/usr/bin/ksh
%s_contextfile%
%s_adjvaprg% oracle.apps.xdo.oa.util.XDOLoader UPLOAD -DB_USERNAME %s_apps_user% -DB_PASSWORD ${1} -JDBC_CONNECTION... (8 Replies)
Discussion started by: a1_win
8 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,
I have a problem but I have never installed a separate OS before so my lingo and understanding may not be as good as some of you. I will try and explain my problem best I can. I am trying to instead of loading Windows 7 when my computer starts up, for it to start linux specifically... (2 Replies)
Discussion started by: markhow30
2 Replies
9. UNIX for Beginners Questions & Answers
Hello Team,
java -cp "./RIPError.jar; ./RIP31.jar; ./RIP31msg_en_US.jar" ResubmitErrors -Ahost -P18505
Getting an error like:
Error: Could not find or load main class ResubmitErrors
What does this mean?
Please make NOTE of 3 things here:
1- Kindly DO NOT hijack posts from... (1 Reply)
Discussion started by: xgringo
1 Replies
10. UNIX for Beginners Questions & Answers
Hello.
I have an export of an associative array build using declare -p SOME_ARRAY_NAME > SOME_FILE_NAME.txt.
Producing some thing like declare -A SOME_ARRAY_NAME=( ="some_text" ="a_text" ......... ="another_text" ) in a text file.
I have a stock of functions which are sourced from... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT CENTOS
installsieve
INSTALLSIEVE(1) General Commands Manual INSTALLSIEVE(1)
*
NAME
installsieve - user utility for managing sieve scripts
SYNOPSIS
installsieve
DESCRIPTION
installsieve is a utility that allows users to manage their sieve scripts kept on the server.
OPTIONS
-v <name> View script with the given name. The script if retrieved sucessfully is output to standard output.
-l List all of the scripts currently on the server. If one of the scripts is active a arrow is printed indicating that it is the active
script.
-p <port> Port to connect to. If left off this defaults to "sieve" as defined in /etc/services.
-i <file> Install a file onto the server. If a script with the same name already exists on the server it is overwritten. Upon sucessfully
putting the script on the server the script is set active. If <file> has the extension .script it is chopped when put on the server since
sieve names may not contain a '.'.
-a <name> Set <name> as the active script. The list of available names can be obtained from the '-l' option..
-d <name> Delete the sieve script on the server with <name>.
-m <mechanism> Force installsieve to use <mechanism> for authentication. If not specified the strongest authentication mechanism is chosen.
-g <name> Get the sieve script with <name> and save it to disk with a ".script" extension. If a file with that name already exists it is
overwritten.
-u <user> Userid/Authname to use for authentication; by default, the current user.
CMU
Project Cyrus INSTALLSIEVE(1)