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 SkipVought 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. Muskaan

    JCM - beginners information

    Java Cluster Management - sorry I should have provided this earlier! ***Most problems are nothing but lack of ideas***
  2. Muskaan

    JCM - beginners information

    Hi, Could any of you point me to where I can obtain basic information on JCM? Thanks in advance! Muskaan ***Most problems are nothing but lack of ideas***
  3. Muskaan

    iconv to convert from Japanese to UTF-8

    Hi, We recently migrated from Sun to AIX. On sun we used to convert a feed from Japanese characters to UTF-8 before loading the data into our databases. For this, the command was: conv -f SJIS -t UTF-8 $datafile > "$datafile".utf8 Now, as SJIS converter is not available on AIX, I am trying to...
  4. Muskaan

    iconv to convert from Japanese to UTF8

    Hi, We recently migrated from Sun to AIX. On sun we used to convert a feed from Japanese characters to UTF-8 before loading the data into our databases. For this, the command was: conv -f SJIS -t UTF-8 $datafile > "$datafile".utf8 Now, as SJIS converter is not available on AIX, I am trying to...
  5. Muskaan

    How to populate SUBJECT in utl_smtp mail

    Hi, I am trying to send mail using utl_smtp from a pl/sql block. The message comes through fine but with no subject. Does anyone know how can I populate that ? Here is the code I am using: mail_conn := utl_smtp.open_connection(mailhost, 25); utl_smtp.helo(mail_conn...
  6. Muskaan

    spool to a file in append mode ?

    Thanks for your response Dave, I suppose I will try the other two options. The spooling option (if it had been possible) was far more simple though! Thanks for your time! Muskaan :) ***Most problems are nothing but lack of ideas***
  7. Muskaan

    spool to a file in append mode ?

    Hi all, I wanted to know if there was a way to spool to a single file in append mode ? Say, my sql looks like: ---snip--- spool a <do something1> spool off <do something, the output of which i do not want in file a> spool a <do something2> spool off ---snip--- so the results of &quot;do...
  8. Muskaan

    how to set an array in ksh from a list of comma separated values

    Hey I got the solution. For those who care: set -A array_test $(echo &quot;first,second,third&quot; | tr ',' ' ') ***Most problems are nothing but lack of ideas***
  9. Muskaan

    how to set an array in ksh from a list of comma separated values

    Hi all, I have set an array in ksh using the &quot;set -A&quot; command when the set of values are space delimited, as follows: set -A array_test $(echo &quot;first second third&quot;) is it possible to do something similarly simple in case my set of values is comma separated like so...
  10. Muskaan

    How to get Unix Environment variables into pl/sql session

    Hi dsanchez2, I could do that, only one would have to maintain the env table up to date. These env variables are anyway maintained for other shell scripts, they will now be parsed by pl/sql block from a flat file. Values for the flat file will be picked from env during every run, so there is no...
  11. Muskaan

    How to get Unix Environment variables into pl/sql session

    Thanks everyone, for your time and suggestions. I am implementing the utl_file solution. We do not have the 9i yet, but when that happens I will look at the solution that carp suggested. thanks again Muskaan ***Most problems are nothing but lack of ideas***
  12. Muskaan

    How to get Unix Environment variables into pl/sql session

    Hi Dima, The task I need to perform involves invoking a pl/sql script on server side to read server(same) side environment variables. What I need to implement is quite complex but the simplified form of the problem is: there is an environment variable age_in_months. I need to use the value of...
  13. Muskaan

    How to get Unix Environment variables into pl/sql session

    Hi parbhani, I have a HUGE pl/sql block defined within a *.sql file, I cannot possibly move it to the shell script, nor can I pass so many variables as argument. Surely there must be a way ? Thanks for your time! Most problems are nothing but lack of ideas.
  14. Muskaan

    How to get Unix Environment variables into pl/sql session

    Hi all, I am running a PL/SQL block in which I need the values of some environment variables. Does anyone know how this can be done ? Thanks in advance, Muskaan
  15. Muskaan

    Determine the age of a file/directory

    Hey Salem! This works well for me! Thanks! Muskaan...
  16. Muskaan

    Determine the age of a file/directory

    Hi, I wanted to know if there was a one-step command to determine the age of a file, something like months_between(DATE1,DATE2) in oracle. I need to write a purge script that can delete all log files older than 3 months. What is the best way to do that? Thanks in advance! Muskaan
  17. Muskaan

    Setting environment variables in tcsh

    duh, I did not understand that point earlier, thanks tonnes!
  18. Muskaan

    Setting environment variables in tcsh

    No, what I mean is to be able to export value from a shell script, say set_user_name.sh to the session that ran it, like so; ---snip--- [dhcp80:~/verify_ut] muskaan% echo $SHELL /bin/tcsh [dhcp80:~/verify_ut] muskaan% cat set_user_name.sh #!/bin/tcsh setenv user_name muskaan echo user_name is...
  19. Muskaan

    Setting environment variables in tcsh

    Hi all, Has anyone worked on tcsh ? I wanted to know how one can export environment variables from child to parent. I tried using setenv but the value remains only in the child shell script. It becomes &quot;undefined&quot; when I try to echo its value from the parent terminal session. anyone...
  20. Muskaan

    RSH return value

    Hi All, I wanted to find out a way to get a return value of a command run by rsh. eg: rsh -l<login> <machine name> <command> Is there a way to determine whether <command> running on remote machine returned 0 or 1 ? I tried $> rsh -l<login> <machine name> &quot;<command>; echo $?&quot; but...

Part and Inventory Search

Back
Top