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. txwaiting4u

    Change column in binary file to check contents; Write binary

    I have a binary file that I am splitting based on a particular field in the file; it's a one character field. The field in ascii (text) would be a 1 or a 2. However, I can't check for a 1 or a 2 because it is in binary. How do I check for a 1 or 2 yet write out the output files in binary? I...
  2. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    Is there a way to convert the one specific column from binary to check for a match but only save that non-binary data in a variable and then the output files be all binary still?
  3. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    I changed as you described but still not getting my output files when I use the big input file. Even tried a smaller subset 7gig --> 70meg. Starting to wonder if it has to do with the input file being in binary. Not viewable on UNIX so what I think is a 1 or 2 is "encrypted". I appreciate...
  4. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    Then there's a problem. Is there a size limitation for the output? I don't get any output, and I've verified the location of the 1 and 2 lookup column. It takes a bit to come back so it seems to be processing. I got it to work on my small dummy files and now am implementing it on my big file...
  5. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    One more question. In the substring, is that start at a zero offset or at 1?
  6. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    I really appreciate the info. I have searched and searched forums, webpages, documentation, etc. for some insight. I figured that someone somewhere has had to do something similar. Wish I had just posted here first. Thanks so much!
  7. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    Pretty awesome Annihilannic! I have it working!!!! Now if I can implement all these parameters, it'll be all good. Thank you for your help!
  8. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    But if you remove the while/do, how does the script know to keep reading records?
  9. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    Don't laugh because I have messed around with this for a while and finally figured I better get the basics to run first...I am probably waaaayyy off. Thank you for the help. # This script will take the XXX.dat file and split into 2 # files based on rec type. If rec type = 1, then record #...
  10. txwaiting4u

    Read, Check string, Depending on String write 1st or 2nd file

    I am a complete newbie at UNIX scripting. I have only written some really basic scripts but now have to figure out a solution that our ETL solution cannot do. We use ksh. This is my need: 1. Parameters passed to script for the following: xferin ---> the directory where the input file is to...
  11. txwaiting4u

    Creating a session variable and then inserting into a table?

    I have tried everything to get my vbscript to create a session variable and then insert it into a table with other data but nothing seems to work. The session variable is being set correctly but when I try to insert it into another table, I just get a 0 (zero) for that field every time; the...
  12. txwaiting4u

    Dynamic links to populate products Page?

    Thanks folks! Got it going now.
  13. txwaiting4u

    Dynamic links to populate products Page?

    Actually, just a high-level understanding of what I need to do is good. All the links for the product categories will go to the products page. My question is how do I pass the parameter of the actual category to that page where I can check for that category in the database on the detail page...
  14. txwaiting4u

    Dynamic links to populate products Page?

    First of all, I'm using ASP, VBScript, and MS Access. My links (categories of products) on my website pages are dynamically created depending on the "active" products in my database based on their categories. Can anyone guide me in how to make these categories actual links that when clicked on...
  15. txwaiting4u

    Help! Email addy passed to next page, validate & send email problem

    I am using Dreamweaver MX, Access db, and using ASP/Javascript. I have a page where user inputs email address and submits. The submit redirects to next page. On load of next page, I lookup the email addy in db, grab name and psw, then send email to user with info. Stuck bigtime! The first...
  16. txwaiting4u

    Javascript Error -- newbie needs help please

    Thanks. I'll try over in the other forum. sw
  17. txwaiting4u

    Javascript Error -- newbie needs help please

    I am developing an ASP site on IIS. I have created a login.asp page which contains Member Name and password. I am using Dreamweaver MX for development. When I add User Authentication for Log in, I get the following error: Javascript error while loading Local Variable: Unable to open script...

Part and Inventory Search

Back
Top