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 gkittelson 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. bhaswar

    How to parse file from a point onwards

    Guys thanks for your replies. p5wizard, thanks for your helpful tip. that would have probably been my next question. :-D I also found another useful one liner, which I am going to use: tail +`grep -n "keyword" file | cut -d: -f1` file
  2. bhaswar

    How to parse file from a point onwards

    Hi, I need help in writing a shell (awk / sed / shell). I am trying to write a script to be able to automate my daily check of the syslog and oracle alert logs. Basically, I need to be able to extract the file from a point onwards based on date. So lets say today is 4 th Sept, I want to...
  3. bhaswar

    reformat file

    Hi all Awk gurus, I have a simple (i hope) query here. I have this awk script which I want to be able to reformat a file. The file looks like this: Manufactured Item | ZLDRS1 ULTRA·STRIP III,DUAt 0649-1046-48 | BOX,275 X 197 X| BN | 2450-0054-01 | LBL,BLNK,PAP TH| A0 |...
  4. bhaswar

    Time value from Date time field

    I am trying to figure out shift date for the night shift. So if the time is before 8:00 am then it is the night shift of the previous day. So I wrote this formula to do it. But it gives an error on the 3rd line (start of the if) saying "a date-time is needed here" I don't understand it... need...
  5. bhaswar

    connecting to sybase database

    Hi , Newbie to Sybase db. Could anyone help me out... How do I connect to a Sybase (SQL Anywhere 5.5) database. Thanks Bhas
  6. bhaswar

    Adding fields to view

    Hi, I am reporting off a view in sql server. I had a report created from the view. Now iif I go and add a field to the view the crystal report does not see this new field. Is there any way to do this or do I have to create a new report. I tried repointing to the same view (database --> set...
  7. bhaswar

    Error on query using function

    Hi I wanted to calculate the number os working days in a query. So I went about wrint a function which accepts the start date end date and the calculates the number os working days: Public Function getWorkingDays(startDate As String, endDate As String) On Error GoTo Err_getWorkingDays...

Part and Inventory Search

Back
Top