Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. surya12

    check path in AIX

    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
  2. surya12

    check path in AIX

    Hi Can anybody know how to check the correctness of a given path? (like ckpath on Solaris) Thanks, Surya
  3. surya12

    DB2 problem on AIX

    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...
  4. surya12

    DB2 problem on AIX

    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...
  5. surya12

    Increase stack size for Java

    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
  6. surya12

    environment in cron

    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...
  7. surya12

    environment in cron

    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
  8. surya12

    environment in cron

    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...
  9. surya12

    environment in cron

    I have removed first line (/bin/ksh) and added the old PATH...even then it says: db2 not found Thanks Surya
  10. surya12

    environment in cron

    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...
  11. surya12

    environment in cron

    export is for ksh. The default shell provided is /bin/sh as I told previously.
  12. surya12

    environment in cron

    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 &quot;-1390&quot; could not be...
  13. surya12

    environment in cron

    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...
  14. surya12

    environment in cron

    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...
  15. surya12

    Embedding a Perl script in C

    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` &quot;/opt/swift/Perl55/lib/5.00503/sun4-solaris/CORE/iperlsys.h&quot;, line...
  16. surya12

    solaris package

    That link tells how to create a complete package, but not about patch packages.
  17. surya12

    solaris package

    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
  18. surya12

    solaris package

    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?
  19. surya12

    solaris package

    how to build a patch package on solaris?
  20. surya12

    how to build package using installp

    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

Part and Inventory Search

Back
Top