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 strongm 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: *

  • Users: donny750
  • Content: Threads
  • Order by date
  1. donny750

    problme to send a mail

    hello, I've use this perl script #!/usr/bin/perl unless(open (MAIL, "|/usr/sbin/sendmail -t")) { print "error.\n"; warn "Error starting sendmail: $!"; } else{ print MAIL "From: me\@mydom.com\n"; print MAIL "To: address\@mailserver.com\n"; print MAIL "Subject: test subject\n\n"; print MAIL...
  2. donny750

    problem with using sendmail

    hello, I'm trying to use sendmail command; so i've create a text file with this in the shell i make this : sendmail -t < /home/james/doc/message.txt -bash: sendmail: command not found i don't understand why it's not running ? Thanks
  3. donny750

    perl map ?

    hello, I've read the perl doc for the function map but i've not good understood; Somebody can explain me with an example , please ? Thnaks for your help
  4. donny750

    Update esle insert ?insert else update ?

    hello, In some ETL, i've the option : Update else insert. Insert else update. I've some difficult to understand the differences between this 2 options. In fact, with the first or the second option,my date are update and insert. Somebody can explain me ? Have exemples ? Thanks
  5. donny750

    print hours

    hello, I've made a perl script, I will print the start hour of the script and the end hour. I've make this #!/usr/bin/perl use strict; use POSIX qw(strftime); ...code print "Started ".strftime( '%H:%M:%S', localtime )."\n"; ...code print "Stopped ".strftime( '%H:%M:%S', localtime...
  6. donny750

    use another script in a script

    hello, I've script A.pl who modify something; I want to use this script in another script B, because i call 3 times the script A for modifiying things. It's possible in perl to do this ? May be something like this : B.pl Thanks
  7. donny750

    DBI delete or truncate ?

    Hello, I want to use perl DBI to make this query truncate table FIRM; It's possible with perl DBI to do this ? Thanks
  8. donny750

    connect to a DB2 database with php

    hi, I've q question; Is it possible to connect to a DB2 database with php , like a connection to mysql ?? Thanks
  9. donny750

    Connection port for DB2 instance .???

    Hi guys; Is-it possible to modify the connection port for DB2 instance ?and how ? may be directly in the /etc/services or with a db2 command ? Thanks for your help
  10. donny750

    question about db2 connect

    hi guys, I've a problem and i want to know if it possible, i explain On a server A, i've installed DB2connect server; with this DB2connect, i connect to my DB2 database on the host. If i've good understand, the DB2connect create a virtual database on my server A; And when i connect to the...
  11. donny750

    Easy question about perl DBI

    hi, For install perl DBI module, I need just install this DBI-1.53.tar.gz ? When i install this,it install the other DBI module like DBI::DBD ?? If it's not the case,must i install DBI::DBD for using DBD::Oracle ? Thanks
  12. donny750

    problem with DB2 module

    hi, I've install the DBD::DB2 module and when i run ths who use this module;i've this error : Can you help me ? Thanks.
  13. donny750

    find a character in a list of file

    hi, I've a list of script, and i was looking for the script where i use the subroutine init; so i do it, cat *.sh | grep init but this command return me things like this init(.. inti(.. but not the script where are the sub how can i do ? Thanks
  14. donny750

    perl function with otpional parameters

    hi, It's possible to create a perl function with optional parameter ? For example, i can call my function like this test(param1) or test(param1,optionalparam) Thanks
  15. donny750

    log4perl xml file explanation

    hello, Somebody known where can i find a document who explain me the log4perl xml file ? Thanks
  16. donny750

    print text with colors with log4perl

    hello, It is possible, when using log4perl : $log->info("System checking"); To print the text(System checking) in red or green(or another colors) ? Thanks.
  17. donny750

    perl and regex;extract a word

    Hi, I extract a line from a file,and in this line i want to take the name of my file; The line look like this PROCESS FILE="test.sh" SIZE="32" LOCATION="C:" In this line i want just the name : test.sh I ve try this my $x = 'PROCESS FILE="test.sh" SIZE="32" LOCATION="C:"'; $x =~ s/FILE="(\w+)"...
  18. donny750

    problem with environment variable

    hello, I've a perl script; In this script , i use a environmental variable; But if my variable is not defined, i prompt and i can write a value for this environnemental variables. I've a problem; How can i do , to export this variable and use this in another script ? Thanks;
  19. donny750

    problem for stopping repository server

    hi guys; I use unix commande for stopping repository server , i ve the choice between two command in informatica help : -pmrepserver -s -x <administrator_password> -h <host_name>:<port_number> or this : pmrepserver -s -X <administrator_password_environment_variable> -h...
  20. donny750

    question about chdir

    hello, In my script, i use chdir to change directory and run a function; I explain with an example : I run my script from /home/tom/axa In my script i do : chdir ("/home/test"); after my chdir ,the script do another thing but where i am ? in /home/tom/axa or in /home/test ? Thanks

Part and Inventory Search

Back
Top