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 Wanet Telecoms Ltd 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: confuseddddd
  • Content: Threads
  • Order by date
  1. confuseddddd

    dateinterval

    Trying to find the current week number of the year and I am trying to use dateinterval.weekofyear; however system should be returning 14 and is returning 5. Any idea as to why??? Dim nWeek As Integer = DateInterval.WeekOfYear also tried Dim sWeek As String = DateInterval.WeekOfYear Want to be...
  2. confuseddddd

    Code to ftp files and then send email with files attached

    I am a "newbie" to .net and need some guidance. I want to be able to retrieve files from a windows application server and then ftp these files to another windows directory location and then attach these files in an email to send. First, can this be done and if it can be done, can someone point...
  3. confuseddddd

    Merge 2 files into 1 file

    Does anyone know how to accomplish this??? I am newbie to .net and would like some assistance, either by giving me some websites where I can browse around to find some material on accomplishing this or giving me some book names to read on going about merging files into one file. It will be the...
  4. confuseddddd

    merge files

    Have files created in a VB environment and an unix environment and want to merge the files into one file using .net. I am brand new to .net and would like any assistance on getting started or if someone can let me know what book to go buy, so I can attempt to do this. Any input would be most...
  5. confuseddddd

    Access field with no decimal point

    Have created a table that has data coming from a text file with dollar sign, comma and decimal points. I want to be able to just have the field be zero filled and no decimal point but keep the decimal amounts...example have $6,512.31 and want it to be 00000651231... how can I accomplish that...
  6. confuseddddd

    nawk script appears to be truncating data

    Have the following nawk script and appears the file is being truncated... The script reads the current date, reads the input file for every occurance of BBIL and then writes out all records between each BBIL to a specific person's file; however, appears some of the records are being truncated...
  7. confuseddddd

    parameter list is too long error

    Trying to run a nwk script and am receiving /scripts/EOS_INT.nwk[17]: /usr/bin/nawk: 0403-027 The parameter list is too long. Any ideas on how to allow the nawk script to be greater than 900 lines???
  8. confuseddddd

    Move yesterday's file the next day

    Need some help on taking a file created yesterday but is processed today and moving it to an archive directory. correctly the logic is: cp 20*.I* /ARCHIVE/inbound/cp 20*.I* 2>> $EDILOG but we receive: cp: 20040218.I01: Error 0 Any ideas on how to copy the file regardless of the date...
  9. confuseddddd

    awk script to remove invalid chars in a variable length record

    Used this script to remove the asterick from the 2nd field where sometimes contains an asterick. > awk 'BEGIN { FS=OFS=&quot;*&quot; } > { > if ($1==&quot;CLM&quot;) { > while ( $3 !~ /^[0-9]*[.][0-9][0-9]$/ ) { > $2=$2 $3; > for (x=3; x<split($0,a); x++) >...
  10. confuseddddd

    Ability to print a report on request

    Need to create a script that will take the current user id and search an audit trail directory for the current date and user id (both of these are part of the file name) and then print the file. Audit Trail Directory has file names like: 20030924_002.UUU.RPT 20030925_I01.YYY.RPT 1) How can I...
  11. confuseddddd

    Remove unwanted character from within field

    Have a file that uses * as its field separator. Within in the file, there are is a certain type of record that is containing * where it should not be, (within a specific field). I wanted to write a script that would read in the file and edit out the * from the field where it should not be...
  12. confuseddddd

    Attach txt file from unix to lotus notes email in script

    Hello, Have created a script that is to attach a text file into an email but don't think I have it coded correctly: #!/bin/ksh scp username@abc.com:/directory_where_file_is /tmp if [ -e /tmp/filename.txt ]; then uuencode /tmp/filename.txt attached_filename.txt | mail -s &quot;Your file is...
  13. confuseddddd

    Replace file name within unix script

    Have file where month is part of file name, example:AAA06BBB.TXT and want to be able to change the month (in this case from 06 to 07), each month within the script, not changing filename each month manually. Currently, some one physically changes the file name and I want to have the script...
  14. confuseddddd

    Remove trailing spaces

    Want to be able to remove the trailing spaces from fixed length output records or even remove the trailing spaces from the fixed length input records. Just need to have the trailing spaces removed. Sometimes the record will contain all 512 bytes and sometimes will contain less. Created a nawk...
  15. confuseddddd

    more versus view

    Could someone explain to me the difference between more versus view??? I have a file that when viewed using more, no carriage control characters (^M) appear but when using view the carriage control characters appear. I have been asked to clean the data up and was just going to remove the ^M but...
  16. confuseddddd

    Removing ^M from file

    Created a nawk script with a field separator of space and built an output file that has many records in the file and after each record of varying lengths, the record contains ^M. Want to be able to remove those carriage returns and the blank spaces that lead up to the ^M. The script reads many...
  17. confuseddddd

    reading a parameter file to modify one of the parameters

    Have a parameter file that contains many parameters but stuck in the middle of all the parameters are the ones I need to modify. I want to be able to do this processing in a script instead of coding a program. Can anyone give me some suggestions on trying to read the parameter file and modify...
  18. confuseddddd

    file with blank lines embedded, want to remove them

    Have an input file we are reading where blanks lines exist within a record grouping and created a nawk script to read the input and then build separate output files based on user....Want to not have blank lines in file, how can this be accomplished using nawk??? We currently use a field...
  19. confuseddddd

    find files in mmyyyy and/or mmyy format

    Is doing a grep to locate files in a directory where the file name contains either in mmyyyy or mmyy format, the best way to locate the files???? And if so, any suggestions on how to accomplish this??? We need to every other month, clean up files and sometimes the file names are in mmyyyy...
  20. confuseddddd

    CR 9 Report to company intranet

    Hello, I am new to using Crystal Reports but was able to create a report using CR 9, basic version. The report is generated weekly and the users do not run the report, they just need to see the output. Now a request has come along that the report is to be put to the company's intranet for the...

Part and Inventory Search

Back
Top