Multiple String to search on the "Scan Output: Abnormal String" item

in the job definition on the run tab on the "option scan output: abnormal string" we use this command pipe to search for the string to force the job to get abnormal status. there are some case that when the job runs and the program being called throws error message other than the string "error". for example it throws "invalid" string to indicate the program has error out. is there a work around to include more than one strings on the commnad pipe? please adivse.
thanks,
warren

Just put a comma between the strings.  If your strings contain spaces you need to put quotes around it.  see below.
"Not connected","Login failed","File not found","The system cannot find the file specified","Access is denied","Unknown host","Invalid command"

Similar Messages

  • How to send job postings to multiple third party sites using the XML output

    Dear Friends,
    We are Implementing Irecruitment for our client, Client requirement is how can we send job postings to multiple third party sites using the XML output from i-Recruitment
    With regards
    Surya
    .

    Can you be more specific about your Requirement. In General, Please navigate to iRecruitment Recruiter Responisbility.
    Then Select, Setup > Recruiting Sites. Here, you can configure your Third Party Websites information and attach stylesheets. The default mode oracle sends the vacancy information is HR-XML Format.
    If you would like to select more sites information select "Add Another Row".
    Then, you can see this information while "New Vacancy Creation Process".
    iRecruiter.
    Edited by: iRecruiter on Oct 18, 2009 7:43 AM

  • The scan output is a file with lines

    The scan output is always a file with vertical lines. Whatever I try the printer, with wireless or USB connection, as well as  scanning with HP scan or the App scan from Windows 8.1. The result is the same, ie, fuzzy lines.
    Note: as a previous post suggested, I also open the lid and clean the glass.
    I´m enclosing the output  file:

    Hi @TRuivo
    I am sorry to see your scan output looks like a muddy rainbow   I would be happy to do my best to help you with this!
    Do you have the printer connected directly to a wall outlet or is it in a surge protector or power bar? Even if you have been using a surge protector/power bar all this time and you feel it is not the cause, please connect it to a wall outlet just so we can eliminate the power source as the root cause.   Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector
    In this document you will see, ISSUE: Problems or issues may arise when an HP LaserJet series printer is connected to an uninterruptible power supply (UPS), a power strip, or a surge protector
    ^ This is not limited to Laserjet printers.
    Let's perform a hard reset. To do so, leave the printer on and unplug the power cable for 1 minute. While it is unplugged, hold down the power button on the printer for 10-15 seconds to release any built up power, then after the minute has passed, plug the printer back in.
    Also, please download the latest firmware version to ensure your printer is up to date; DJ2540_188.exe
    I hope one of these recommendations helps to resolve the issue! 
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • How do I direct my HP 5510 e-all-in-o​ne scan output to an Android tablet

    How do I direct my HP 5510 e-all-in-one-printer scan output to an Android tablet? My printer is connected to my wireless network. During the printer setup I was able to identify both my desktop and laptop computers as "scan to" computers and they both appear as destinations on the printer display.   I have been able to direct the printer scans to these two computers without problems. But I have not been able to find a way to direct the scan output to my Android tablet (Android Honeycomb 3.2.1). I have downloaded and use HP ePrint Home and Biz app and can print from the tablet. This app does not appear to offer a way to direct the printer scan output to be sent to the tablet. Any suggestions???
    This question was solved.
    View Solution.

    Hi,
    Currently, HP does not provide any scanning solution for Android OS.
    Scanning from the front panel will allow you to scan to a computer only, and not to any mobile OS.
    I would suggest you to search the Android Market for any 3rd party scan application, as the HP ePrint Home & Biz app currently provide scan capabilities for Apple iOS and Nokia Symbian as you may find listed below:
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02532765&cc=us&dlc=en&lc=en&product=5063582&tmp​...
    Hope it helps,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • HP6520 scan output problem

    My scans are cut in half. Only one side of a letter-size document is showing up in the scan output. I've had this issue before and got chat help to fix it but can't find a way to reach that help again. Anyone else have this problem and know how to fix it or to get through this terrible "Support" system?

    Hello MargaretSL,
    Welcome to the HP Forums.
    I see that you are having some scan quality issues with only half of the image showing up.
    Does this happen when you do a regular copy or is it only when scanning to the computer?
    One step that you can try is to please make sure that you have the printer power cable connected directly to a wall outlet and not a power bar/strip. Here is a document that uses a LaserJet printer as an example but it is meant for HP products in general. Please click on the following link that explains the Issues when Connected to an Uninterruptible Power Supply/Power Strip/Surge Protector.
    So I can better assist you, please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Please write me back when you have time and I will be happy to investigate into the issue further.
    Cheers, 
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • Script to search all files in specified folder for multiple string text values listed in a source file and output each match to one single results txt file

    I have been searching high and low for this one.  I have a vbscript that can successfully perform the function if one file is listed.  It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file
    that way.  However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder.  At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script
    was executed and folder was scanned.  So I am going back to the drawing board and starting from the beginning.
    I also have a txt file that contains the list of string text entries I would like it to search for.  Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back.  The current script
    I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand.  It might take awhile, but it works every time. The purpose is to let this run against various log files in a folder and
    let it search.  There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for.  It is a search (read) only function, going thru the entire contents of the folder and
    when done, performs the loop function and onto the next file to repeat the process until all files are searched.  When completed, instead of running a cscript to execute the script and outputting the results to text, I am trying to create that as part
    of the overall script.  Saving yet another step for me to do.
    My current script is set to append to the same results file and will echo [name of file I am searching]:  No errors found.  Otherwise, the
    output shows the filename and the string text that matched.  Because the results append to it, I can only run the script against each file separately or create individual output names.  I would rather not do that if I could include it all in one.
     This would also free me from babysitting it and running each file script separately upon the other's completion.  I can continue with my job and come back later and view the completed report all in one.  So
    if I could perform this on an entire folder, then I would want the entries to include the filename, the line number that the match occurred on in that file and the string text that was matched (each occurrence).  I don't want the entire line to be listed
    where the error was, just the match itself.
    Example:  (In the event this doesn't display correctly below, each match, it's corresponding filename and line number all go together on the same line.  It somehow posted the example jumbled when I listed it) 
    File1.txt Line 54 
    Job terminated unexpectedly
     File1.txt Line 58 Process not completed
    File1.txt
    Line 101 User input not provided
    File1.txt
    Line 105  Process not completed
    File2.txt
    No errors found
    File3.txt
    Line 35 No tape media found
    File3.txt
    Line 156 Bad surface media
    File3.txt Line 188
    Process terminated
    Those are just random fake examples for this post.
    This allows me to perform analysis on a set of files for various projects I am doing.  Later on, when the entire search is completed, I can go back to the results file and look and see what files had items I wish to follow up on.  Therefore, the
    line number that each match was found on will allow me to see the big picture of what was going on when the entry was logged.
    I actually import the results file into a spreadsheet, where further information is stored regarding each individual text string I am using.  Very useful.
    If you know how I can successfully achieve this in one script, please share.  I have seen plenty of posts out there where people have requested all different aspects of it, but I have yet to see it all put together in one and work successfully.
    Thanks for helping.

    I'm sorry.  I was so consumed in locating the issue that I completely overlooked posting what exactly I was needing  help with.   I did have one created, but I came across one that seemed more organized than what I originally created.  Later
    on I would learn that I had an error in log location on my original script and therefore thought it wasn't working properly.  Now that I am thinking that I am pretty close to achieving what I want with this one, I am just going to stick with it.
    However, I could still use help on it.  I am not sure what I did not set correctly or perhaps overlooking as a typing error that my very last line of this throws an "Expected Statement" error.  If I end with End, then it still gives same
    results.
    So to give credit where I located this:
    http://vbscriptwmi.uw.hu/ch12lev1sec7.html
    I then adjusted it for what I was doing.
    What this does does is it searches thru log files in a directory you specify when prompted.  It looks for words that are contained in another file; objFile2, and outputs the results of all matching words in each of those log files to another file:  errors.log
    Once all files are scanned to the end, the objects are closed and then a message is echoed letting you know (whether there errors found or not), so you know the script has been completed.
    What I had hoped to achieve was an output to the errors.log (when matches were found) the file name, the line number that match was located on in that file and what was the actual string text (not the whole line) that matched.  That way, I can go directly
    to each instance for particular events if further analysis is needed later on.
    So I could use help on what statement should I be closing this with.  What event, events or error did I overlook that I keep getting prompted for that.  Any help would be appreciated.
    Option Explicit
    'Prompt user for the log file they want to search
    Dim varLogPath
    varLogPath = InputBox("Enter the complete path of the logs folder.")
    'Create filesystem object
    Dim oFSO
    Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
    'Creates the output file that will contain errors found during search
    Dim oTSOut
    Set oTSOut = oFSO.CreateTextFile("c:\Scripts\errors.log")
    'Loop through each file in the folder
    Dim oFile, varFoundNone
    VarFoundNone = True
    For Each oFile In oFSO.GetFolder(varLogPath).Files
        'Verifies files scanned are log files
        If LCase(Right(oFile.Name,3)) = "log" Then
            'Open the log file
            Dim oTS
            oTS = oFSO.OpenTextFile(oFile.Path)
            'Sets the file log that contains error list to look for
            Dim oFile2
            Set oFile2 = oFSO.OpenTextFile("c:\Scripts\livescan\lserrors.txt", ForReading)
            'Begin reading each line of the textstream
            Dim varLine
            Do Until oTS.AtEndOfStream
                varLine = oTS.ReadLine
                Set objRegEx = CreateObject("VBScript.RegExp")
                objRegEx.Global = True  
                Dim colMatches, strName, strText
                Do Until oErrors.AtEndOfStream
                    strName = oFile2.ReadLine
                    objRegEx.Pattern = ".{0,}" & strName & ".{0,}\n"
                    Set colMatches = objRegEx.Execute(varLine)  
                    If colMatches.Count > 0 Then
                        For Each strMatch in colMatches 
                            strText = strText & strMatch.Value
                            WScript.Echo "Errors found."
                            oTSOut.WriteLine oFile.Name, varLine.Line, varLine
                            VarFoundNone = False
                        Next
                    End If
                Loop
                oTS.Close
                oFile2.Close
                oTSOut.Close
                Exit Do
                If VarFoundNone = True Then
                    WScript.Echo "No errors found."
                Else
                    WScript.Echo "Errors found.  Check logfile for more info."
                End If
        End if

  • Finding multiple strings in a text file and deleting the entire line

    Get-Content c:\output-Copy.txt | Where-Object {$_ -notmatch 'something1', 'something2', 'something3', 'something4' } | Set-Content temp.txt
    Above is the program that when it has 1 argument in the -notmatch part will find the specific string and delete the entire line. I need to be able to use multiple strings for my search, I am totally drawing a blank on this and I know its something REALLY
    simple but my brain is fried. The above code will work IF i only leave 'something1' and delete the rest. I need to find MULTIPLE matches and remove them all at once, what is a good way to accomplish this.

    You can use an alternating regex, like this:
    Get-Content c:\output-Copy.txt |
    Where-Object {$_ -notmatch 'something1|something2|something3|something4' } |
    Set-Content temp.txt
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Search for the last delimiter in a string

    Hi all,
    My requirement is whenever my length of the string reach 50 characters, the program will search for the last comma delimiter and break line into 2 lines.
    The string format is like this: -
    Input: -
    1234567890123456789012345678901234567890,1234567890
    Expected output: -
    1234567890123456789012345678901234567890,
    1234567890
    Input: -
    1234567890,1234567890,1234567890,1234567890,1234567890
    Expected output: -
    1234567890,1234567890,1234567890,1234567890,
    1234567890
    The difficult part for me is how to search for the last comma delimiter when it reached 50 characters?
      IF strlen(gv_fetxt) > 50.
      .... " do something to break the line into two lines. 
      ENDIF.
    Please help and guide me.
    Thanks in advance.

    Hi,
    Test the following Sample Code it is working according to your Requirements.
    DATA: str1(200),
          str2(200),
          str3(200),
          main_str_len TYPE i,
          sub_str_len TYPE i,
          off_start TYPE i,
          off_end TYPE i.
    DATA: BEGIN OF it_str OCCURS 100,
      str(200),
      END OF it_str.
    str1 = '1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890,1234567890'.
    main_str_len = STRLEN( str1 ).
    off_start = 0.
    off_end = 50.
    WHILE main_str_len GE 0.
      IF main_str_len GT 50.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string    = str1+off_start(off_end)
            lang      = 'E'
          IMPORTING
            rstring   = str1+off_start(off_end)
          EXCEPTIONS
            too_small = 1
            OTHERS    = 2.
        REPLACE FIRST OCCURRENCE OF ',' IN str1 WITH '$'.
        CALL FUNCTION 'STRING_REVERSE'
          EXPORTING
            string  = str1+off_start(off_end)
            lang    = 'E'
          IMPORTING
            rstring = str1+off_start(off_end).
        SPLIT: str1 AT '$' INTO str2 str3.
        it_str-str = str2.
        APPEND it_str.
        str1 = str3.
        sub_str_len = STRLEN( str2 ).
      ENDIF.
      IF main_str_len LT 50.
        it_str-str = str1.
        APPEND it_str.
        main_str_len = -1.
      ELSE.
        SUBTRACT: sub_str_len FROM main_str_len.
      ENDIF.
    ENDWHILE.
    LOOP AT it_str.
      WRITE: it_str-str.
    ENDLOOP.
    Please Reply if any Issue,
    Best Regards,
    Faisal

  • What is the Scan from string pattern for "match everything" ?

    Hello,
    Using Scan from string for a while, I know that %s only matches string up to a whitespace. And I also thought %[^] would match everything including whitespaces. But it turned out that it would stop at the closing square brace.
    So, what is the real scan pattern for match everything including whitespaces ?

    What do you want the Scan From String to end on?  Or are you just grabbing the rest of the string?  If that is your scenario, then just use the "remaining string" output.  It might help if you give a full example of a normal input string and EVERYTHING you want as an output.

  • How to display the Form output in multiple languages ? ------ Urgent

    How to display the Form output in multiple languages ? -
    Urgent

    Hi,
    Do u mean the Form output in 2-3 languages ...like form output will be having english russian etc...
    for the above case , what u have to do ...
    first have to get the transalations for all the fields
    say for example : if the english word is PO Number , then u have to get the transalation text for PO Number :
    after this , what u have to is ,,, Log on to SAP with russian language ,  then in the form o/p u have to paste that russian test ( translation text ) ...
    do like this for all the components in the form .
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS

  • How can i make the input/output field to a multiple lines in ModulePool...

    hi all...
    can any one please let me know, is there any possibility thru Module Pool program where i can make the input/output field to a multiple lines...
    say, when we drag & drop the input/output field on the screen - it'll come with single line display. so, how to make the same field to multiple lines field.
    rather i can say my question like, how to increase the height of the input/output field.
    Desired Functionality:
    • The user wants to display a long text.
    • now the input/output field should not display the record as a single line, now the field has to display the text in multiple lines (something like wrap option in ms excel).
    hope u got my question...
    please help me in this regards...

    hi Rengith, i'm not using Text Field, i'm using Inpu/Output Field to display the long text.
    If u mean text field as input/output field then can u let me know the process for this, how to do the same thru module pool program...
    Edited by: murashali on Mar 18, 2008 1:36 PM

  • Searching for the nth occurrence of a substring in a string

    I need to search for the 63rd occurrence of a substring <i4> and replace it with <string>. Is there an easy way to do this?
    Edited by: sarcasteak on Jun 16, 2009 11:52 AM

    nevermind I got it, if anyone was curious
    int z = 0;
                   while(z<63)
                        index = index2+3;
                        index2 = result.indexOf("<param>", index);
                        resultTest = result.substring(index2);
                        //System.out.println(index2 + " :" + resultTest );
                        z++;
                   String originalSubstring = (result.substring(index2);
                   String modifiedSubstring = "";
                   modifiedSubstring = originalSubstring.replaceFirst("<i4>","<string>" );
                   modifiedSubstring = modifiedSubstring.replaceFirst("</i4>","</string>" );
                   String fixedString= result.replace(originalSubstring, modifiedSubstring);
                   System.out.println(fixedString);Edited by: sarcasteak on Jun 16, 2009 12:32 PM

  • Search for the t-code where the specefic output type is used

    Hi
    I want to know how can we search for the t-code used  for a  specefic output type in use?
    I have a requirement where in i have a output type, i knwo teh prog name and the form name...
    i know it is used in SD and billing but i am not able ot exactly pin point as to in which t-code to be used..so that i can check the output throught the T-code.
    Experts sugget!!
    Thanks
    Prashant

    Hi
    It is used for a Standard t-code i want to find that T-code. Through NACE the outputtype (which i already have) i can find teh prog name and the form name.
    and through SPRO also its the same info...
    i want to knwo for SD-> Billing->INvoice i can find the output type...i want to knwo what T-code needs to be run and on givign the data and running the out put type from the menu and choosing my OUTput type...and seeing the output in the print format.
    Hope you got my problem.Thanks for the reply.
    Prashant

  • How to improve the speed of creating multiple strings from a char[]?

    Hi,
    I have a char[] and I want to create multiple Strings from the contents of this char[] at various offsets and of various lengths, without having to reallocate memory (my char[] is several tens of megabytes large). And the following function (from java/lang/String.java) would be perfect apart from the fact that it was designed so that only package-private classes may benefit from the speed improvements it offers:
        // Package private constructor which shares value array for speed.
        String(int offset, int count, char value[]) {
         this.value = value;
         this.offset = offset;
         this.count = count;
        }My first thought was to override the String class. But java.lang.String is final, so no good there. Plus it was a really bad idea to start with.
    My second thought was to make a java.lang.FastString which would then be package private, and could access the string's constructor, create a new string and then return it (thought I was real clever here) but no, apparently you cannot create a class within the package java.lang. Some sort of security issue.
    I am just wondering first if there is an easy way of forcing the compiler to obey me, or forcing it to allow me to access a package private constructer from outside the package. Either that, or some sort of security overrider, somehow.

    My laptop can create and garbage collect 10,000,000 Strings per second from char[] "hello world". That creates about 200 MB of strings per second (char = 2B). Test program below.
    A char[] "tens of megabytes large" shouldn't take too large a fraction of a second to convert to a bunch of Strings. Except, say, if the computer is memory-starved and swapping to disk. What kind of times do you get? Is it at all possible that there is something else slowing things down?
    using (literally) millions of charAt()'s would be
    suicide (code-wise) for me and my program."java -server" gives me 600,000,000 charAt()'s per second (actually more, but I put in some addition to prevent Hotspot from optimizing everything away). Test program below. A million calls would be 1.7 milliseconds. Using char[n] instead of charAt(n) is faster by a factor of less than 2. Are you sure millions of charAt()'s is a huge problem?
    public class t1
        public static void main(String args[])
         char hello[] = "hello world".toCharArray();
         for (int n = 0; n < 10; n++) {
             long start = System.currentTimeMillis();
             for (int m = 0; m < 1000 * 1000; m++) {
              String s1 = new String(hello);
              String s2 = new String(hello);
              String s3 = new String(hello);
              String s4 = new String(hello);
              String s5 = new String(hello);
             long end = System.currentTimeMillis();
             System.out.println("time " + (end - start) + " ms");
    public class t2
        static int global;
        public static void main(String args[])
         String hello = "hello world";
         for (int n = 0; n < 10; n++) {
             long start = System.currentTimeMillis();
             for (int m = 0; m < 10 * 1000 * 1000; m++) {
              global +=
                  hello.charAt(0) + hello.charAt(1) + hello.charAt(2) +
                  hello.charAt(3) + hello.charAt(4) + hello.charAt(5) +
                  hello.charAt(6) + hello.charAt(7) + hello.charAt(8) +
                  hello.charAt(9);
              global +=
                  hello.charAt(0) + hello.charAt(1) + hello.charAt(2) +
                  hello.charAt(3) + hello.charAt(4) + hello.charAt(5) +
                  hello.charAt(6) + hello.charAt(7) + hello.charAt(8) +
                  hello.charAt(9);
             long end = System.currentTimeMillis();
             System.out.println("time " + (end - start) + " ms");
    }

  • The asterisk(*) was attached to the search string when perform search from the baner.

    I run into a strange behavior with performning a search from the baner (top right). For example, I enter the string called "test" and click search. The asterisk will be attached to the string make it "test*". because of this, it come back with incorrect search result. have you run into this before. Thanks!

    Right click the Back/Forward buttons to get the list of sites you visited.
    There is an add-on you can install which displays that arrow on either button, but it's only cosmetic. See https://addons.mozilla.org/en-US/firefox/addon/backforward-dropmarker/

Maybe you are looking for

  • Does all user accounts load the same drivers, plugins etc?

    Hi Most of what I do on my Mac can be divided into "Music" and "Office-stuff". 1. I want to create two user accounts so my system loads faster and is more stable because it only loads what it needs for the specific task. (And to avoid conflicts with

  • BPM: Send step bypassed at run time

    Hi, In BPM, there is a send step after a transformation step in a block. In the corresponding interface mapping for the transformation step, the name of the .xsl mapping name is incorrect in spelling. Now due to this a strange situation is happening.

  • How to install firefox 4Rc in linux (ubu) .I need help

    I am using '''ubuntu''' os . I already have''' firefox 3.6.''' I have '''firefox 4RC file''' but I don't know how to install that file help me to install that .

  • ADM GPO templates for Reader XI are incomplete and misleading

    We've just migrated to Reader XI, and I was hoping to switch configuring the registry settings to the new official Adobe Reader XI ADM templates. However, they are very incomplete. For example, the following registry setting are missing: HKLM\SOFTWAR

  • Having trouble with multiple rotations around an objects poles

    Hey all, i am new to java 3d (only started coding today) but i have been coding in Java for a while.. I am having a problem understanding how to perform the rotations i want to. I have read the majority of the literature i can find on performing thes