Hi
This is okay. But I like to know the command similar to ckpath on Solaris, i.e., checking they syntax of the path etc..not just checking if it exits, which can be done even by the if statement as in if [ -d <path> ].
Bye
Hi
You may be right, but my point is that the same Java application runs on Windows NT, 2000 and Solaris 2.6, 7 etc. There's no difference at all in the code. Only porting to AIX gives the problem. So, I'm thinking that the configuration or setting some flags (like SHMEXT=ON) should be done...
Hi
I'm getting SQL1224 error code when I connect to DB2 on AIX 4.3.3 from a Java application. If I do the same thing from a C/C++ application, I'm not getting this problem. Did anybody face this problem? Do I need to set any parameters for this?
P.S. I already set the variable SHMEXT to ON...
Hi
Is there any way to increase the stack size for Java application other than -Xss option of Java and editbin utility of Visual C++?
(I mean, how to increase the stack size statically from Windows utilities)
Thanks,
Surya
It's wonder...magic. It worked fine.
In fact I tried in the beginning without using set. And then I didn't export them. And somebody suggested to use set.I had lost complete confidence, so I didn't much concentrate on it.
Many many thanks to Mark, for your 'do or die approach' and your...
Hi
Alas! It's showing the PATH as /usr/bin: . That means there's is no use of setting and exporting variables.
I don't know what's happening. God only should help me.
What a useless crontab!!!!
-Surya
Hi
task.sh:
set PATH=.:/export/home/snl00549/java1.3.1/bin:/export/home/snl00549/java1.3.1/jre/bin:/bin:/usr/openwin
/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb:/opt/SUNWspro/bin:/export/home/dbcc1/sqllib/bin:/export/ho...
I changed the script to:
#!/bin/ksh
set PATH=SOMEPATH
set DB2INSTANE=BLAH BLAH
set DB2DIR=SOME_DIR
set LD_LIBRARY_PATH=BLAH_BLAH
export PATH
export DB2INSTANCE
export DB2DIR
export LD_LIBRARY_PATH
db2 -f someScript.sql
Now the cron output is: db2 not found...
Hi
As you said I have put in a file task.sh, and given to crantab as fololws:
#!/bin/ksh
PATH=SOMEPATH
DB2INSTANE=BLAH BLAH
DB2DIR=SOME_DIR
LD_LIBRARY_PATH=BLAH_BLAH
db2 -f someScript.sql
crontab produced output as:
SQL10007N Message "-1390" could not be...
Thanks.
Well, I know that some commands like stty, export don't work, because the default shell provided is /bin/sh. That's why I used /bin/ksh to run the .profile. And then, it runs, but again the variabls are not available, because it runs in another shell.(I mean /bin/ksh .profile will be run...
Hi
I have seen that environment(even after excuting .profile) is not available to crontab. Can you please help me?
I have put in task.sh:
/bin/ksh .profile
echo $PATH
and to my crontab:
10 * * * * task.sh
and the output gives:
/usr/bin for the echo...
Hi when I tried compiling a C code which contains PerlInterpreter (basically embedding a perl in C), I got the following errors:
/opt/SUNWspro/bin/cc -o interp callPerl3.c `perl -MExtUtils::Embed -e ccopts -e ldopts`
"/opt/swift/Perl55/lib/5.00503/sun4-solaris/CORE/iperlsys.h", line...
Oh....I'm not talking about the patches of Solaris, but the patch of my own package. i.e., I want to create a patch package, and I want to remove only patch. I don't think the above commands can be used to remove the patches of the user-created-package. Am I right?
surya
Thanx a lot. But I want to create a patch package. I mean, just installing a patch on the already-installed package. And how to remove only patch and the entire package?
Thanx. I have seen this already, but I don't know how to proceed. starting trouble. I want to know whether I have to give the package name as the directory name and execute installp from that directory and such other details. Any help would be appreciated.
Thanx,
surya12
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.