Binary search in text files

Hi all,
I'm thinking about how to implement a binary sort to get,given a key, a value from a text file with a list of words in order. I saw randomaccessfile for j2se and I know that this work it's usually done by seek functions but how to do the seek work without the File class , with only the InputStream and Reader? I'm talking about the j2me midp 2 cldc 1.1 api, is there some methods or class to use for this thing? How could be implemented a binary search in a text file resident in the /res dir or the JAR or which could be the problems that cannot make possible this staff? If there was something like seek one way could be that one of decide a common length of words to read so going to the half of the text file it's possible with simply multiplication, and the do the binary search things.But for now I haven't found any resources or help.
I hope you can help me to understand, thank you

Hallo all,
it is NOT the problem to locate the text I need to find in the fmb, or fmx.
The problem is that since I want to change not only the text but also some more code around I want to do this in Form Builder - Object Navigator. And I'm not able to discover in which trigger or procedure the text appears.
I do not want to edit fmx, or fmb in a text editor because I suupose theer are some checksums hidden for the format.
-duro
BTW in FMT there is no code seen (only some binary) for v6i as it was in v4.5.

Similar Messages

  • Is there a function to Search a Text File?

    I am writing a program that will read data from a URL and then save that URL to a text file. I then need to be able to search the text file for certain strings and must know which line they appear on. I realize that I could read the text file in line by line looking for the string and then note the current line number. However, I need to search for 20-30 different strings in each URL and this would be very inefficient. I would really like some way to say:
    int lineNumber = 0;
    lineNumber = searchText("sometextfile.txt", str);
    And have searchText return the lineNumber on which the String str was found. Alternately, if there is way to search a URL that would cut out the middle man of writing it to a text file first.
    Any help would be greatly appreciated as I could not find this anywhere. Thanks.

    I have done something similar to to this, but it depends on what you want to use it for. I was looking for specific data on websites and would copy that data into a database. So, I used regex to find the data on the site and copy it. I also had to use String Tokenizer in certain places to get the correct data sometimes.
    orozcom

  • Searching a text file and printing the line if found!

    Hi, Im fairly new to JAVA and have been googling this for hours and havent found any results that
    have helped me...
    Im looking to search a text file for a value that is in a that is delimited by colons
    eg 45787 : 398948 : 398884 : 398984
    IF that value is found I need to print this entire line and move it into a string.
    I can work out the delimit part, the problem for me is a)searching the text file
    and b) tell java to print that line only??
    Any help would be very very much appreciated
    Cheers
    James

      public void printCourses() throws Exception
                stuinput[] courseObjArray = new stuinput[10]; //Make sure this is the same as the ammount in the text
                   Scanner sc = new Scanner(new File("testfile.txt"));
                   int i=0;
                   boolean found = false;
                   while(sc.hasNextLine())
                   //Delimit this line with scanner
                   Scanner sc1 = new Scanner(sc.nextLine());
                   sc1.useDelimiter(":");
                   courseObjArray[i] = new stuinput(sc1.next(),sc1.next());
                   i++;
                   }//while
                   for(int i1 = 0;i1 < courseObjArray.length;i1++)
                   System.out.println(courseObjArray[i1].courseCode);
                   System.out.println(courseObjArray[i1].courseName);
                   System.out.println(courseObjArray[i1].courseName);
                   System.out.println("-----------------");     
                   String courseCode2 = "courseObjArray[i1].courseCode";
                   if (courseCode2  == "12345")
                        System.out.println("working");
                   else{System.out.println("Not Found");}
           }hmmm just wondering why could this method always return a "Not Found"....if the text file had a whole bunch of values like this
    12345:Course1
    12344:Course2
    12343:Course3
    isnt it surposed to return 1 "Working"?? because there is a 12345 in on of the line, in the semi colon delimited line with 2 values, one being the course code, one being the course name??
    Given that there is 10 lines (from Array Object)

  • Search the text file using vbscript.

    Hi I have some data in my text file. Below is the content. Now I need to search the file whether it contains identityType as ApplicationPoolIdentity. Any help in vbscript???
     name:"example"
     queueLength:"1000"
     autoStart:"true"
     enable32BitAppOnWin64:"false"
     managedRuntimeVersion:"v2.0"
     managedRuntimeLoader:"webengine4.dll"
     enableConfigurationOverride:"true"
     managedPipelineMode:"Integrated"
     CLRConfigFile:""
     passAnonymousToken:"true"
     startMode:"OnDemand"
     [processModel]
       identityType:"ApplicationPoolIdentity"
       userName:""
       password:""
       loadUserProfile:"false"

    ok my solution is below,
    CONST ForReading = 1
    Dim File1
    Dim FileToRead
    Dim strLine
    Dim infoResult
    Dim strDir, objFile, returnvalue
    strDir = "C:\Scripts\"
    File1 = "sample.txt"
    FileToRead = strDir & File1
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile(FileToRead, ForReading)
    Do Until objFile.AtEndOfStream
        strLine = objFile.ReadLine
            if instr(strLine, "identityType") <> 0 then
              if instr(strLine, "LocalSystem") <> 0 then
                    infoResult = "Found"
                    exit do
                end if
            else
                infoResult = "Not Found"
            end if
    Loop
    objFile.Close
     Wscript.Echo infoResult    
    Set objFSO = Nothing
    Set objFile = Nothing

  • Binary V/s Text files.

    What is the difference between binary and text files?
    Thank you for your reply.

    What is the difference between binary and text files?
    Thank you for your reply.They're both just files of (binary) data. The real difference is just in the way that they are read/written. Text files are 'line-delimited', having a sequence of cr/lf combinations (depending on platform) to separate 'lines' of 'text'.

  • Searching into text files

    Hi friends!
    I'm working with Oracle8i and using ConText Cartridge to make
    searches in some fields of a table. The problem is that this
    table has a field to store a file name that contains large text.
    This field has type VARCHAR(128). I don't know how to make
    searches in this field. Can anybody help me, please?
    Thank you all in Advance
    Carlos Moreno

    Hi friends!
    I'm working with Oracle8i and using ConText Cartridge to make
    searches in some fields of a table. The problem is that this
    table has a field to store a file name that contains large text.
    This field has type VARCHAR(128). I don't know how to make
    searches in this field. Can anybody help me, please?
    Thank you all in Advance
    Carlos Moreno

  • Problem using a vector of strings as patterns to search a text file

    Ideas? Goal is to use several patterns from one file to search for matches in a second file, one pattern at a time. I have added the file of patterns to a vector and created an iterator to grab each pattern successively. I also can effectively search for matches in the second file, but can't seem to find a way to combine them. I've tried nested while(s) in both orders without success.
    Thank you for any suggestions.

    It sounds to me like it should work. What does your search code look like?

  • Which app to read and search a text file?

    I have a text doc containing a little database.. I want to keep on my iPhone and read .. but I also need to search it. Does any App do this?

    Well you can upload it somehow and then read it online. On your mac, go to any page and make it a bookmark. Then, press the little "book" icon by your bookmarks and then click on the bookmark you just made. Then change the web address of the bookmark you just saved to...
    javascript:void%28s%3Dprompt%28%27Find%20text%3A%27%2C%27%27%29%29%3Bs%3D%27%28% 27s+%27%29%27%3Bx%3Dnew%20RegExp%28s%2C%27gi%27%29%3Brn%3DMath.floor%28Math.random %28%29*100%29%3Brid%3D%27z%27%20+%20rn%3Bb%20%3D%20document.body.innerHTML%3Bb%3 Db.replace%28x%2C%27%3Cspan%20name%3D%27%20+%20rid%20+%20%27%20id%3D%27%20+%20ri d%20+%20%27%20style%3D%5C%27color%3A%23000%3Bbackground-color%3Ayellow%3B%20font -weight%3Abold%3B%5C%27%3E%241%3C/span%3E%27%29%3Bvoid%28document.body.innerHTML %3Db%29%3Balert%28%27Found%20%27%20+%20document.getElementsByName%28rid%29.lengt h%20%20%27%20matches.%27%29%3Bwindow.scrollTo%280%2Cdocument.getElementsByName%28rid %29%5B0%5D.offsetTop%29%3B
    Then sync this bookmark to your iPhone. Finally, open the database page you uploaded to the web on your iphone and go to the bookmark you just saved. You should then be able to search the document. Tell me if it works.

  • Searching through text file

    Hi guys,
    I want to search for a string in a file then copy everything after it into a string array i guess, basically the requirement is that where i work we get letters they are usually a paragraph long what i want to do is just just copy those paragraphs into a variable and save them to a database with the date and time. if i can be pointed towards the write API or a sample code that would be highly appreciated.
    Thank you in advance.
    regards
    zeeshan

    Say your paragraphs are seperated by a empty line (\n)
    import java.io.*;
    public class New{
      public static void main(String args[]){
        try{
          new New().getParagraphs(args[0],args[1]);
        }catch(Exception ex){
          ex.printStackTrace();
      public String[] getParagraphs(String after, String fileName) throws Exception{
        File file = new File(fileName);
        if(!file.exists())
          throw new Exception("File not Found");
        else{
          BufferedReader br = new BufferedReader(new FileReader(file));
          String fileData = "";
          String temp = null;
          boolean canCopy = false;
          while((temp = br.readLine()) != null)
            if(canCopy)
              fileData += temp + "\n";
            else
              if(temp.indexOf(after) != -1){
                canCopy = true;
                fileData += temp.substring(temp.indexOf(after) + after.length()) + "\n";
        return fileData.split("\n");
    }Edited by: gtRpr on 2008/06/26 01:36

  • Binary transfer of text files

    I'm trying to do this - edited FTPExtensionMap.txt
    accordingly, but get no joy. Files are still going up as ascii.
    I've restarted both DW and the OS (Win XP, DW 8). Has anyone
    experienced similar? I'm uploading to IIS.
    Thanks

    Guess I should have scrolled down to the app dev forum before
    posting - found my answer - there's two places that file resides
    and I edited the wrong one.
    Thanks...

  • Search word in text file

    Hello,
    someone can help me with code?
    How to search in text file any word and count how many it were repeated?
    For example test.txt:
    hi
    hola
    hey
    hi
    bye
    hoola
    hiAnd if I want to know how many times are repeated in test.txt word "Hi" program must say "3 times repeated"
    I hope you understood what I want, thank you for answers.

    This is my code now.
    package lt.kvk.i3_2.test;
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.IOException;
    import java.util.Scanner;
    public class Testing {
              public static void main(String args[]) throws Exception {
                   Scanner input = new Scanner(System.in);
                System.out.println("Select word from list:");
                System.out.println();
                try {
                        FileReader fr = new FileReader("src/lt/kvk/i3_2/test/List.txt"); // this is list of words, everything all right here
                        BufferedReader br = new BufferedReader(fr);
                        String s;
                        while((s = br.readLine()) != null) {
                             System.out.println(s);
                        fr.close();
                        String stilius = input.nextLine();   // eneter word which I want to count in File.txt
                    BufferedReader bf = new BufferedReader(new FileReader("src/lt/kvk/i3_2/test/File.txt")); // from this file I need to count word which I entered before
                    int counter = 0;               
                    counter = counter + 1;
                    counter++;
                    counter += 1;
                    String line;
                    System.out.println("Looking for information");
                    while (( line = bf.readLine()) != null){
                    int indexfound = line.indexOf(stilius);
                    if (indexfound > -1) {
                    System.out.println( "At all words which You want to count are "+ counter);
                    bf.close();
                catch (IOException e) {
                    System.out.println("Error");
              }         Here example of file.txt:
    test
    tea
    tree
    test
    car
    wind
    dog
    test
    car
    sea
    tea
    testIf I enter for example word "test" or any from this list I got answer:
    Looking for information
    At all words which You want to count are 3But it must to count how many times in this file this word are repeated, it must be 4
    if I enter word car It must show 2....
    And if I enter word which isn't in list (file.txt)
    Program didn't show error, just:
    Looking for informationThanks for answers.

  • Compare two text files in Powershell and if a name is found in both files output content from file 2 to a 3rd text file

    Is it possible using PowerShell to compare the contents of two text files line by line and if a line is found output that line to a third text file?
    Lets say hypothetically someone asks us to search a text file named names1.txt and when a name is found in names1.txt we then pair that with the same name in the second text file called names2.txt
    lets say the names shown below are in names1.txt
    Bob
    Mike
    George
    Lets say the names and contents shown below are in names2.txt
    Lisa
    Jordan
    Mike 1112222
    Bob 8675309
    Don
    Joe
    Lets say we want names3.txt to contain the data shown below
    Mike 1112222
    Bob 8675309
    In vbscript I used search and replace commands to get part of the way there like this
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objFile = objFSO.OpenTextFile("testing.txt", ForReading)
    strText = objFile.ReadAll
    objFile.Close
    strNewText = Replace(strText, "Mike ", "Mike 1112222")
    Set objFile = objFSO.OpenTextFile("testing.txt", ForWriting)
    objFile.WriteLine strNewText
    objFile.Close
    That script works great when you know the name you are looking for and the correct values. Lets say someone gives you a list of 1000 employees and says import these names into a list in the correct format and one sheet has the correct names only and
    the other sheet has lots of extra names say 200000 and you only need the 1000 you are looking for in the format from names2.txt.

    Sure,
    Here's a simple one:
    $names1 = "C:\names1.txt"
    $names2 = "C:\names2.txt"
    $names3 = "C:\names3.txt"
    Get-Content $names1 | ForEach-Object {
    $names1_Line = $_
    Get-Content $names2 | Where-Object {$_.Contains($names1_Line)} | Out-File -FilePath $names3 -Append
    This basically just reads $names1 file, line by line, and then read $names2 file line by line as well.
    If the line being evaluated from $names2 file contains the line being evaluated from $names1 file, then the line from $names2 file gets output to $names3 file, appending to what's already there.
    This might need a few more tinkering to get it to perform faster etc depending on your requirements. For example:
    - If either $names1 or $names2 contain a lot of entries (in the region of hundreds) then it will be faster to load the whole content of $names2 into memory rather than opening the file, reading line by line, closing and then doing the same for every single
    line in $names1 (which is how it is currently works)
    - Make sure that your comparison is behaving as expected. The .Contains method always does a case sensitive comparison, this might not be what you are after.
    - You might want to put a condition to ignore blank lines or lines with spaces, else they'll also be brought over to $names3
    Hopefully this will get you started though and ask if you have further questions.
    Fausto

  • How to generate complete file list of hard drive and output to text file

    I need to start backing things up to drives, which over time will be put in storage.
    I would like to be able to create a complete file index and folder tree of every drive and have it output to a text file so that in the event I ever need to go back to a drive, I can search the text file to know what drive to pull from storage (rather than using spotlight to search through 25 drives).
    Is there any way to do this with either OS X or with a third party software? Ideally, text file and not PDF.
    Thanks!

    You can use the terminal.app with the following command:
    rsync -rlptn --stats --progress +Source.. Destination..+
    example with actual output:
    rsync -rlptn --stats --progress /Volumes/Mac\ Data/websites /Volumes/EXT\ SATA2building file list ...
    146 files to consider
    websites/
    websites/.DS_Store
    websites/bestelectricbill.com/
    websites/bestelectricbill.com/.DS_Store
    websites/bestelectricbill.com/211299c1
    websites/bestelectricbill.com/awards.php
    websites/bestelectricbill.com/careers.php
    websites/bestelectricbill.com/category1.php
    websites/bestelectricbill.com/category2.php
    websites/bestelectricbill.com/category3.php
    websites/bestelectricbill.com/checkout.php
    websites/bestelectricbill.com/company.php
    websites/bestelectricbill.com/contactus.php
    websites/bestelectricbill.com/email.js
    websites/bestelectricbill.com/faqs.php
    websites/bestelectricbill.com/fsp.js
    websites/bestelectricbill.com/history.php
    websites/bestelectricbill.com/index.php
    websites/bestelectricbill.com/index_copy.php
    websites/bestelectricbill.com/investors.php
    websites/bestelectricbill.com/job1.php
    websites/bestelectricbill.com/job2.php
    websites/bestelectricbill.com/job3.php
    websites/bestelectricbill.com/job4.php
    websites/bestelectricbill.com/job5.php
    websites/bestelectricbill.com/managementteam.php
    websites/bestelectricbill.com/news1.php
    websites/bestelectricbill.com/news2.php
    websites/bestelectricbill.com/news3.php
    websites/bestelectricbill.com/news4.php
    websites/bestelectricbill.com/news5.php
    websites/bestelectricbill.com/newsandevents.php
    websites/bestelectricbill.com/partners.php
    websites/bestelectricbill.com/press.php
    websites/bestelectricbill.com/privacypolicy.php
    websites/bestelectricbill.com/product1a.php
    websites/bestelectricbill.com/product1a1.php
    websites/bestelectricbill.com/product1a2.php
    websites/bestelectricbill.com/product1b.php
    websites/bestelectricbill.com/product1b1.php
    websites/bestelectricbill.com/product1b2.php
    websites/bestelectricbill.com/product1c.php
    websites/bestelectricbill.com/product1c1.php
    websites/bestelectricbill.com/product1c2.php
    websites/bestelectricbill.com/product1d.php
    websites/bestelectricbill.com/product1d1.php
    websites/bestelectricbill.com/product1d2.php
    websites/bestelectricbill.com/product1e.php
    websites/bestelectricbill.com/product1e1.php
    websites/bestelectricbill.com/product1e2.php
    websites/bestelectricbill.com/products.php
    websites/bestelectricbill.com/productsearch.php
    websites/bestelectricbill.com/registration.php
    websites/bestelectricbill.com/search.php
    websites/bestelectricbill.com/searchresults.php
    websites/bestelectricbill.com/service1.php
    websites/bestelectricbill.com/service1a.php
    websites/bestelectricbill.com/service1a1.php
    websites/bestelectricbill.com/service1a2.php
    websites/bestelectricbill.com/service1b.php
    websites/bestelectricbill.com/service1b1.php
    websites/bestelectricbill.com/service1b2.php
    websites/bestelectricbill.com/service1c.php
    websites/bestelectricbill.com/service1c1.php
    websites/bestelectricbill.com/service1c2.php
    websites/bestelectricbill.com/service1d.php
    websites/bestelectricbill.com/service1d1.php
    websites/bestelectricbill.com/service1d2.php
    websites/bestelectricbill.com/service1e.php
    websites/bestelectricbill.com/service1e1.php
    websites/bestelectricbill.com/service1e2.php
    websites/bestelectricbill.com/service2.php
    websites/bestelectricbill.com/service3.php
    websites/bestelectricbill.com/services.php
    websites/bestelectricbill.com/shoppingcart.php
    websites/bestelectricbill.com/sitemap.php
    websites/bestelectricbill.com/story1.php
    websites/bestelectricbill.com/story2.php
    websites/bestelectricbill.com/story3.php
    websites/bestelectricbill.com/termsofuse.php
    websites/bestelectricbill.com/Templates/
    websites/bestelectricbill.com/Templates/siteassist_config.cfg
    websites/bestelectricbill.com/Templates/siteassist_template.dwt.php
    websites/bestelectricbill.com/Templates/_notes/
    websites/bestelectricbill.com/Templates/_notes/dwsync.xml
    websites/bestelectricbill.com/_notes/
    websites/bestelectricbill.com/_notes/dwsync.xml
    websites/bestelectricbill.com/images/
    websites/bestelectricbill.com/images/.DS_Store
    websites/bestelectricbill.com/images/app_img17.jpg
    websites/bestelectricbill.com/images/bestelectriclogo.jpg
    websites/bestelectricbill.com/images/bestelectriclogo.jpg.ori.jpg
    websites/bestelectricbill.com/images/btn_saveBusiness.jpg
    websites/bestelectricbill.com/images/btn_saveHome.jpg
    websites/bestelectricbill.com/images/imgAbout_OverviewTeam copy.jpg
    websites/bestelectricbill.com/images/imgCollage.jpg
    websites/bestelectricbill.com/images/imgComp1.jpg
    websites/bestelectricbill.com/images/imgComp3.jpg
    websites/bestelectricbill.com/images/imgComp4.jpg
    websites/bestelectricbill.com/images/imgComp5.jpg
    websites/bestelectricbill.com/images/imgComp6.jpg
    websites/bestelectricbill.com/images/imgComp7.jpg
    websites/bestelectricbill.com/images/imgComp8.jpg
    websites/bestelectricbill.com/images/phone number.jpg
    websites/bestelectricbill.com/images/phone number2.jpg
    websites/bestelectricbill.com/images/_notes/
    websites/bestelectricbill.com/images/_notes/dwsync.xml
    websites/bestelectricbill.com/siteassist_css/
    websites/bestelectricbill.com/siteassist_css/color.css
    websites/bestelectricbill.com/siteassistcss/mystyles.css
    websites/bestelectricbill.com/siteassist_css/navigation.css
    websites/bestelectricbill.com/siteassistcss/navigationcolor.css
    websites/bestelectricbill.com/siteassist_css/style.css
    websites/bestelectricbill.com/siteassist_css/template.css
    websites/bestelectricbill.com/siteassistcss/notes/
    websites/bestelectricbill.com/siteassistcss/notes/dwsync.xml
    websites/bestelectricbill.com/siteassist_images/
    websites/bestelectricbill.com/siteassistimages/above_topnavbackground.jpg
    websites/bestelectricbill.com/siteassistimages/below_topnavbackground.jpg
    websites/bestelectricbill.com/siteassist_images/border.gif
    websites/bestelectricbill.com/siteassistimages/bottombackground.jpg
    websites/bestelectricbill.com/siteassistimages/brcorner.jpg
    websites/bestelectricbill.com/siteassist_images/bubbles.jpg
    websites/bestelectricbill.com/siteassistimages/dottedhorizontal.jpg
    websites/bestelectricbill.com/siteassistimages/dottedvertical.jpg
    websites/bestelectricbill.com/siteassistimages/home_mainbackground.jpg
    websites/bestelectricbill.com/siteassistimages/img100x125.gif
    websites/bestelectricbill.com/siteassistimages/img160x110.gif
    websites/bestelectricbill.com/siteassistimages/img400x197.gif
    websites/bestelectricbill.com/siteassistimages/img463x170.gif
    websites/bestelectricbill.com/siteassistimages/loginbtn.gif
    websites/bestelectricbill.com/siteassistimages/logotraditional.jpg
    websites/bestelectricbill.com/siteassistimages/mainfeature.jpg
    websites/bestelectricbill.com/siteassistimages/side_navcell.gif
    websites/bestelectricbill.com/siteassistimages/side_nav_cellsel.gif
    websites/bestelectricbill.com/siteassistimages/side_nav_opengrad.gif
    websites/bestelectricbill.com/siteassistimages/side_nav_open_selgrad.gif
    websites/bestelectricbill.com/siteassistimages/sidenavbackground.jpg
    websites/bestelectricbill.com/siteassist_images/spacer.gif
    websites/bestelectricbill.com/siteassistimages/topbackground.jpg
    websites/bestelectricbill.com/siteassistimages/topnavbackground.jpg
    websites/bestelectricbill.com/siteassistimages/topnav_cellbg.gif
    websites/bestelectricbill.com/siteassistimages/topnav_cell_bghover.gif
    websites/bestelectricbill.com/siteassistimages/trcorner.jpg
    websites/bestelectricbill.com/siteassistimages/notes/
    websites/bestelectricbill.com/siteassistimages/notes/dwsync.xml
    Number of files: 146
    Number of files transferred: 135
    Total file size: 1150921 bytes
    Total transferred file size: 1150921 bytes
    Literal data: 0 bytes
    Matched data: 0 bytes
    File list size: 2825
    File list generation time: 0.001 seconds
    File list transfer time: 0.000 seconds
    Total bytes sent: 3717
    Total bytes received: 896
    sent 3717 bytes received 896 bytes 9226.00 bytes/sec
    total size is 1150921 speedup is 249.50
    Simply copy and and paste output text in terminal to a text file.
    What I actually did there was use the "dry run option" (-n) - no files were actually transferred.
    For more info on the rsync command type and run "man rsync" at the terminal command line.
    Also see this webpage:
    http://www.ss64.com/osx/rsync.html
    Kj

  • Text file problem

    I wanna search a text file, and get the database name from it. The database name usually follows "BATCH". How can I do that. Thanks.

    Actually, the text file is weblogic server's properties file. We stored the database information as one property in that file. Thus you can see, the file is pretty chunky, I don't know if I should read the file line by line, or if there is any easy way to search the file for the occurance of "DBNAME".
    Following is just a small part of the property file:
    # SYSTEM PROPERTIES
    # System properties in this section are set to system defaults
    # Performance pack. The shared library must be accessible from your
    # PATH (NT) or from your shared library path (UNIX; the name of the
    # variable varies: LD_LIBRARY_PATH, SHLIB_PATH, etc.)
    weblogic.system.nativeIO.enable=true
    # Outputs logging information to the console as well as to the log file
    weblogic.system.enableConsole=true
    # Sets the directory or URL for the WebLogic Admin help pages
    # The help pages are shipped in the "docs/adminhelp" directory, in the
    # default document root in public_html
    weblogic.system.helpPageURL=C:/weblogic/myserver/public_html/docs51/adminhelp/
    # Properties for tuning the server's performance
    # Number of WebLogic Server execute threads.
    weblogic.system.executeThreadCount=15
    # Other optional system properties
    # Limits size of weblogic.log (in K) and versions old log
    weblogic.system.maxLogFileSize=1024
    # Adjust minimum length of password
    weblogic.system.minPasswordLen=8
    # Database Administration
    weblogic.database=DBNAMEMYDB01
    MYDB01 is exactly what I want to get from the file.

  • How to save data results into text file

    I want to solve an equation of degree 2 for example, and results are displayed in a text file

    Like many other software coding forums, we don't want to give hand outs.  We are more than happy to give hand ups.  Show that you've tried to figure out the problem and show us where you are stuck.  Then we will be glad to help you get you unstuck.  If we just give you an answer, you will learn nothing.
    As far as writing to a text file, look in the File I/O palette for the Write to Text File primitive.  Also, if you go to Help->Find Examples... and do a search for "text file" you will get some examples of how to use it.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • How do i customize the states in a vertical menu bar?

    i see that it is possible to change the states for a horizontal venu bar, but i can't get it to work for the vertical one.  please tell me we can edit the states in a vertical menu bar. valerie

  • Can Adobe LiveCycle Designer 7.0 do this...??

    Hi everyone, i'm new to livecycle and I want to know if this application can do the things I need it to do. Heres my situation, I want to be able to create a form (for example, a blog entry type of form)that has: -title -url link -message -upload pic

  • ASSET MASTER ERROR- BUSINESS AREA IS SUPPRESSED

    Hi Friends, While I am creating Assets in Asset Master AS01 I am getting error Customizing Inconsistency- Business Area is Suppressed. Its very urgent any one help me where I can change this field, I will assign points for a helpful answer regards Ve

  • Content not visible in RH

    This is the strangest thing.... I am using RH 7 for HTML. I have one topic that is driving me nuts.  When I open the topic in RH, the page appears to be blank; however, when I press Ctrl+W, it looks just fine.  I looked at the code and it doesn't see

  • Errors in ZIP files from OTN

    Hello, I try to download the client software for Oracle 8.1.7 on NT, but the downloaded ZIP file contains errors. When I try to fix the errors my original ZIP file is truncated from over 500Mb to 20Kb! And it does not work of course. All the other ZI