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

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

    String Manipulation in Array

    Hello All I have the string below: Red Cross, CPR – life support, completed I have managed to put the string in an array separated by comma. My goal is to do three things: 1)use the default value in third element of the array, else use “completed” if ($array[0] eq ?)...
  2. hello99hello

    Array of element

    Somewhat embarrassed to ask this question: Could anyone tell me why the comment is not evaluating if (($array[5] eq "FULL TIME") && ($array[11] eq "BCGE2")){ $array[5] = "ARREARS"; $array[11] = "ARREARS"; print "The element 5th is now $array[5] \n" ; #This is not comming out at all. print "The...
  3. hello99hello

    Utils files download

    Can any one advise of a place to download the following files: cpp-2.96-108.1.i386.rpm glibc-devel-2.2.4-26.i386.rpm kernel-headers-2.4.9-e.3.i386.rpm gcc-2.96-108.1.i386.rpm binutils-2.11.90.0.8-12.i386.rpm thank you.
  4. hello99hello

    LOAD DATA CONTROL FILE

    Hello All, I have a file(loaddata.dat) with the following sample record below: Here are some facts about current line formart. -There are three lines, like below, for each employee. -each line for each employee always begins with (2 spaces) RWP20004. -each line for each emoployee always ends...
  5. hello99hello

    Delete carriage return ^M in a record

    Hello All, I have a file, inputfile, containing the following records: 200095,,,3/6/2003,OTHER^M,3.75,,,3.75 200095,,,5/2/2003,VACATION^M,3.75,,,3.75 200095,,,6/2/2003,VACATION^M,15,,,15 I was wondering if there is script that I could use to take out the carriage return ^M from each record...
  6. hello99hello

    Extarcting a column from records of a file

    Hello All, I have a file (levln_ac_in.txt) with the following sample record format: 200159,,,3/21/1996,3/22/1996,,VACATION,VAC.TAKEN OTHER GRPS,,15,,,0 I am trying to extract the contents of the 8th column of each record of file levln_ac_in.txt and put it in an output file levln_dt_in.txt...
  7. hello99hello

    String Manipulation Problem

    DP1 080 000 RWP20004 SM000016721788446C05102A 21875345804015240800+0085834058300217700+000000000+ 71 RWP20004 00000014768200+S2 0050102009583405833652+0145834380408000+S2...
  8. hello99hello

    Using two arrays in an Array

    Hello All, I have a file with the following records: Jasmin,Long ,23$45 ,1234A, MATLV, 0, 3 David ,Malow, 3328$,7765B, CRTLV, 2, 4 . . . . Susan ,Hagen, $8699 ,87564, VACLV, 0, 5 My aim is to have output file that has the following: #The whole records in the file have to be put in an array...
  9. hello99hello

    Deleting spaces between two records in a file

    I have these file containing the folowwing records: Lai Phat 37739 jdsk876 Dema Koheen 346747 jsdfjkla990 Lar Solomon 484848 jfsaj898 When I do wc -l file1, it reports 5 records. Thereby counting the line-space before and after "Dema Koheen 346747 jsdfjkla990" as record lines. I was...
  10. hello99hello

    Oracle 10g installation on Linux 9x

    Hello all, I am trying to install 10g on Linux 9x, Here is the response after trying to run ./runInstaller as oracle: Checking operating system verison.... Passed All installer requirements met Preparing to lunch Oracle Universal Installer from /tmp/OraInstall*. Please wait.....error...
  11. hello99hello

    Change Decimal Value of an element of an Array

    Hi All, All I want to do is change the decimal value of 3rd element in my array records. Here is my inpu records: al green 00.0000 jesse cal 02.00 laura Morgan 20.0 My expected output should look like the following: al green 0.0000 jesse cal 2.0000 laura Morgan 20.0000 Here is my effort...
  12. hello99hello

    Select from one table and insert into another table.

    Hello All, I am trying to write sql to achive the following. I have a table1 with the following columns: Employee ID Name Plan Type Sample of records in the table are the following: 2067,Janice,LIFE,Y -------record 1 2067,Janice,MSP,Y -------record 2 2045,Enry,LIFE,Y -------record 3...
  13. hello99hello

    Adding duplicate rows to existing records

    I have an input file (pers_in.txt) with the following records: 2067,Janice,LIFE,Y -------record 1 2067,Janice,MSP,Y -------record 2 2045,Enry,LIFE,Y -------record 3 2045,Enry,OPT,N -------record 4 2345, Louis,MSP,N -------record 5 2345, Louis,OPT,N -------record 6 My purpose is to put it in...
  14. hello99hello

    Pad filed zeros and concatenate two fileds as one

    Hello All, I am currently researching the following issues, and I was wondering if anyone has an input. Basically, I have the following records ( with four fileds each, fileds 3 and 4 have varying lenght): Jamie,Foxx,09,765 Look,Mann,87,5987 The projected output records should be...
  15. hello99hello

    Changing the value of an element of array

    I have this array, and I am trying to change the value of the 4th element. Here is my code: chomp($array[3]); if ($array[3] = 'BRO.IN LAW') { $array[3]= "Brother-in-law"; chomp($array[3]); print "The new value is $array[3] \n"; } However, it chages the values to "Brother-in-law" for all the 4th...
  16. hello99hello

    Oracle 10g Practice Exam Questions

    Hello All, Does anyone know where I can get Oracle 10g Associate Practice Exam Questions. Thanx
  17. hello99hello

    Comparing Contents of two files and Output result file

    Hello All, Could anyone help in writting a bash scripts to compare the contents of two files. file1 (has this records) 2345 re890 23499 file2 (has this records) 2345 Re890 23500 I would like to compare the contents of the two files one line at time and output file3 which should have the...
  18. hello99hello

    ORA-01401: inserted value too large for column

    Hello All, I am stumped here, and your help would be appreciated. Here are the sample records I am trying to insert: 201110,MABBOTT-LATE, GERRY,777 634 6363 288867,MAINSCOUGH, LARRY,867 756 7563 Here is the description of my table: SQL> desc TRANS_PERS_TEMP; Name Null? Type...
  19. hello99hello

    DATE::MANIP

    Could anyone help with the date manip function: Basically, I am trying to change Date from MM/DD/YYYY(05/01/2003)TO 01-May-2003 use Date::Manip; my $input_date ; my $ouput_date ; my $datestr ; my $date ; $input_date = "02/03/2003" ; #use Date::Manip qw(ParseDate $input_date); $datestr =...
  20. hello99hello

    Linux withing Perl

    I am writting Linux script withing a perl program. I intend to make the following changes in Linux in line HERE HERE HERE HERE HERE (below), I was wondering if you could tell me how: Changing strings and date - change JAMES LOOKMAN to James Lookman, and date - 12/23/2003 to 23-Dec-2003. Any...

Part and Inventory Search

Back
Top