Junk character at the end of machine name

SQL> SELECT MACHINE, LENGTH(MACHINE) FROM V$SESSION;
MACHINE LENGTH(MACHINE)
WORKGROUP\DEMO-MAC 19
The above query returns one extra length. Where does it come from?
9iDB is installed on windows 2000 machine.
Help me out!
Rajesh Kumar

Could you do use the dump function to see if there are additional characters at the end of machine?
Here is an example.
SQL> R
  1  SELECT DUMP(MACHINE) DUMP, LENGTH(MACHINE) FROM V$SESSION
  2*  WHERE LENGTH(MACHINE) = 15
DUMP                                                         LENGTH(MACHINE)
Typ=1 Len=15: 67,77,83,92,67,77,83,82,52,56,87,48,48,53,0                 15
Typ=1 Len=15: 67,77,83,92,67,77,83,82,52,56,88,76,80,86,76                15

Similar Messages

  • Strange character at the end of some file/folder names

    I'm getting a strange character at the end of some of my file and folder names. This is it:  When I enlarge it, it says "private use" on the top and bottom, "E000" on the left side, and "F8FF" on the right side. It acts like a character within the font, but I'm not sure why it's there.
    In case that didn't work, I'm going to try to attach or embed a gif of the character. I'm not sure if it will work or not.
    Also, some longer file names seem to be dleeting some of the letters and are inserting a pound sign and a few numbers (e.g. #34) in place of the letters.
    What's going on?
    As usual, thanks in advance,
    Lloyd

    I thought that might be it...at first. Then I found some file names that were nowhere near 32 characters long whose names were truncated.
    It's not a huge problem, except in QuarkXPress when I collect the files for output and I have to reconnect to the ones whose names have been changed (to protect the innocent, I suppose).
    Thanks for the input mark.
    Lloyd

  • Ftp/xml: @ character at the end

    I receive a file from an AS/400 machine. The process is as follows: AS/400 generates an xml file. It ftps the file to a folder location. Biztalk uses the file adapter to pick this up.
    The weird thing that's happening is that the AS/400 generates a proper xml file. But when the AS/400 ftps this file to a Windows, it appends a bunch of @ characters at the end. Does somebody have an explanation? Additionally, can I workaround with this in
    Biztalk?

    Never seen a case when files from AS/400 had ‘@’ in it. Even you have secured ftp (FTP-S), the chances for some character to be appended at the
    end is less. I have seen BOM (Byter Order Marks) which appear at the beginning of the file content as opposed to end of the file content. Just to remove the probability of this problem due
    to “secured” part of ftp, drop (or ask the hosting team) the file manually at the ftp folder and see what comes to BizTalk. Just remove AS/400 from the picture and drop the file manually to see whether is it due to the end
    system (AS/400) to due to any process in the transportation (network infrastructure) add this extra character at the end of the file.
    If it’s the problem due to the source system (AS/400) or infrastructure, try to resolve the problem at their end, if not only solution is to use the custom receive pipeline component to remove the any additional characters from
    the file.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Is it possible to export to PDF without a Return character at the end of every line?

    I am the author of a book whose first edition has been typeset and extensively amended in InDesign.  I now need to rewrite the first edition to produce a second edition.
    When I copy-and-paste from the PDF with which the publisher has supplied me into MS Word, I get a Return character at the end of every line, which means that text doesn’t automatically wrap and sentences are fragmented so that I get spurious grammar errors.
    I know that not all PDF files have a Return at the end of every line.  Is it possible to restrict Returns to the end of paragraphs when exporting from InDesign to PDF?  If so, what should the publisher be asking the typesetter to do?

    Thanks for your lightning-swift and helpful replies, Mike & Ellis.
    I don't have InDesign myself, so I know hardly anything about how it's used.  I'm just trying to research what an internationally-known publisher should already know how to do, but apparently doesn't!
    Following your suggestion, Mike, I have downloaded the trial version of Acrobat and exported the PDF to a Word file.  This has been moderately successful as there are far fewer spurious Return characters, just a few that I suspect may be hangovers from the typesetter having introduced soft returns in ID.
    As you've suggested Peter and Ellis, I'll suggest that the publisher asks the typesettter to export from ID to RTF and Text to see if that's even better.
    Message was edited 15:24 GMT by: AlanS5100

  • Character # at the end of file in transaction AL11

    Hi gurus,
    In version 46c if I upload a file to application server with program RC1TCG3Z and in mode BIN when I display the file with transaction AL11 the file is correct.
    In version 60 if I upload a file to application server with the same program and in mode BIN when I display the file with transaction AL11 appears character # at the end of some lines. How it is possible?
    Thanks,

    Hi,
    U need to use one class. Refer below given code.
    TYPES : BEGIN OF lt_record_input,
              rec(1000) TYPE c,
            END OF lt_record_input.
    DATA : li_record_input TYPE TABLE OF lt_record_input .
    DATA lv_cr TYPE c.
    lv_cr = cl_abap_char_utilities=>cr_lf.
    CONCATENATE '/opt/isv/cti_app/DOCU/INCOMING/PROCESSED/UNSUCCESSFUL/'
    gv_filename INTO lv_path.
    OPEN DATASET lv_path FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc = 0.
      DO.
        READ DATASET lv_path INTO lw_record_input-rec.
        IF sy-subrc EQ 0.
          REPLACE lv_cr IN lw_record_input-rec WITH space.
          APPEND lw_record_input TO li_record_input.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET lv_path.
    ENDIF.
    Hope it help u.

  • Character # at the end of line with transaction AL11

    Hi gurus,
    In version 46c if I upload a file to application server with program RC1TCG3Z and in mode BIN when I display the file with transaction AL11 the file is correct.
    In version 60 if I upload a file to application server with the same program and in mode BIN when I display the file with transaction AL11 appears character # at the end of some lines. How it is possible?
    Thanks,

    > I don't have access to OS level.
    Check the file on OS level (ask the admin to copy that file), it may be a display issue in the GUI.
    Markus

  • Can I add special character "$" in the function module parameter name??

    Hi Friends
    Can I add special character "$" in the function module parameter name??
    awaiting for your reply,
    Regards
    Praveen

    >
    prashanth kishan wrote:
    > Thomas,
    > ... What if Praveen passes the $ parameter in that unknown FM and suddenly theres smoke coming from the rear of the CPU? Who's answerable to that??
    >
    > pk
    Blame Canada!

  • "\" Character at the end of alias source in databas

    Recently our application developer team faces a problem with crystal report v.14.0 (2011). They require to place “\“character at the end of alias source in database and there are no other character to replace the backslash. All the clients that do the designing, operate on x64 bit operating system (windows 7_x64) and this version of crystal report replaces “ \”  with  “ _ “ character.
    We recently found a patch file that in the following registry category fixes the mentioned issue only in 32bit operating systems but no solution can be found so far for 64bit OS.
    HKEY_LOCAL_MACHINE\SOFTWARE\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\Database]
    "InvalidAliasCharList"="!(){}"
    As the demands in the market force us to move to 64bit OS versions, finding a solution for this issue is crucial and we require your assistant to solve this subject.
    Regards,

    JoeBorland wrote:
    File is large about above 20,000 lines.
    I need to find the optimum solution.
    Like reading a file and find the end of character and writing into a file.
    The above way is correct or any other way?Try it and see. Such a program will only be a dozen lines long.

  • BOX character at the end of line when file transferred from SAP to  WINDOWS

    Hi,
    We have a file interface program which creates a comma seperated '.txt' file in application server. Once it is created in application server in provided path an UNIX script runs which transfers this file from SAP application server to a network drive in WINDOWS platform. This file looks fine  when opened through WINSCP from SAP application server but when checked the file in network drive opened with note pad, it found each line come at the end of another line seperated by 'BOX' character.
    If we opened the file in word pad instead of note pad it looks fine.
    If any one of you have any idea to resolve this issue it will be a great help.
    Thanks,
    Ranadev

    Hi Ranadev,
    This happens because when you transfer the file to the Windows platform using the UNIX script it removes uses only a newline character at the end of each line instead of the Windows platform standard which is carriage return/newline.  The Notepad program displays this character alone as the box that you see.  If you want to verify take the same program and convert to Windows format using Notepad++ and you'll see that the same file then displays properly in Notepad.
    Regards,
    Ryan Crosby

  • How to add a character at the end of an array element that meets certain criteria.

    Hi. I am using CF 9.2.1. I started learning CF yesterday, and I am trying to figure out a way to add a special character (like "?", "!"," & ") to an array row if the first row element (say, element [1][1]) has a specific letter like " t" in the word it is holding. In this case the special character will be added at the end of the last row element (element [1][3]).
    Example: The take columns are: "Firstname", "Lastname", "Age".  If Firstname contains an "s" or "S" (in any order) then add "!" at the end of the row so that :
    Sam, Rubins, 26 !
    Nick, Palo, 32
    Robert, Williams, 28
    Oscar, Ramirez, 23 !
    I tried using the ReReplace, Refind and the #findoneof functions. I could probably loop through the array and return a value and store, while storing the value in a separate variable and using an if/Boolean function to compare that value and so on.... But I am sure there's an easier and more efficient way. Thanks in advance.
    <!--- #1 I will create a three column query named CityInfo--->
    <cfset CityInfo = QueryNew("City, State, LCode","VarChar, VarChar, Integer")>
    <cfset newRow = QueryAddRow(CityInfo, 2)>
    <cfset newRow = QueryAddRow(CityInfo, 3)>
    <cfset newRow = QueryAddRow(CityInfo, 4)>
    <cfset newRow = QueryAddRow(CityInfo, 5)>
    <cfset newRow = QueryAddRow(CityInfo, 6)>
    <!---Using the column names City, Sate and LCode I will now enter the information--->
    <cfset temp = QuerySetCell(CityInfo, "City", "Dallas", 1)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 1)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "214", 1)>
    <cfset temp = QuerySetCell(CityInfo, "City", "Fort Worth", 2)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 2)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "817", 2)>
    <cfset temp = QuerySetCell(CityInfo, "City", "San Antonio", 3)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 3)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "210", 3)>
    <cfset temp = QuerySetCell(CityInfo, "City", "L.A.", 4)>
    <cfset temp = QuerySetCell(CityInfo, "State", "CA", 4)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "213", 4)>
    <cfset temp = QuerySetCell(CityInfo, "City", "Austin", 5)>
    <cfset temp = QuerySetCell(CityInfo, "State", "TX", 5)>
    <cfset temp = QuerySetCell(CityInfo, "LCode", "512", 5)>
    <h4> Number1. City info TABLE contents:</h4>
    <cfoutput query = "CityInfo">
    #City# #State# #LCode#<br>
    </cfoutput> 
    <!--- #2 Now I focus on the array. I declare it first --->
    <cfset cityarray=arraynew(2)>
    <!--- Then I retrieve the data and populate the array --->
    <cfloop query="CityInfo">
    <cfset cityarray[CurrentRow][1]=City>
    <cfset cityarray[CurrentRow][2]=State>
    <cfset cityarray[CurrentRow][3]=LCode>
    </cfloop>
    <h4>Number2. City info ARRAY contents before appending:</h4>
    <cfloop index="Counter" from=1 to=5>
    <cfoutput>
    City: #cityarray[Counter][1]#,
    Estate: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <!--- #3 I now add/append Irving to the array and change L.A. --->
    <cfset cityarray[6][1] = "Irving" />
    <cfset cityarray[6][2] = "Texas" />
    <cfset cityarray[6][3] = "972" />
    <cfset cityarray[4][1] = "Los Angeles" />
    <h4>Number3. City info Array contents after adding Irving, TX and updating L.A.:</h4>
    <cfloop index="Counter" from=1 to=6>
    <cfoutput>
    City: #cityarray[Counter][1]#,
    Estate: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <br>
    <!--- #4 now I look for the 's' in order to add a '!' THIS IS WHERE MY PROBLEM BEGINS --->
    <h4>Number4. City info after searching for "s"</h4>
    <cfloop index="Counter" from=1 to=6>
    <cfoutput>
    City: #cityarray[Counter][1]#,
    Estate: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#,
    <!--- I know the findoneof function is not going to help me, but I hope it helps to give you an idea of what I am trying to do--->
    #findoneof("sS",cityarray[Counter][1])#
    <br>
    </cfoutput>
    </cfloop>

    It is much simpler than you think. Additions and modifications are in italics. Good luck!
    <h4>Number2. City info ARRAY contents before appending:</h4>
    <cfloop index="Counter" from="1" to="#CityInfo.recordcount#">
    <cfoutput>
    City: #cityarray[Counter][1]#,
    State: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <!--- #3 I now add/append Irving to the array and change L.A. --->
    <cfset cityarray[6][1] = "Irving" />
    <cfset cityarray[6][2] = "Texas" />
    <cfset cityarray[6][3] = "972" />
    <cfset cityarray[4][1] = "Los Angeles" />
    <h4>Number3. City info Array contents after adding Irving, TX and updating L.A.:</h4>
    <cfloop  index="Counter" from="1" to="#arrayLen(cityarray)#">
    <cfoutput>
    City: #cityarray[Counter][1]#,
    State: #cityarray[Counter][2]#,
    Code: #cityarray[Counter][3]#<br>
    </cfoutput>
    </cfloop>
    <br>
    <!--- #4 now I look for the 's' in order to add a '!' THIS IS WHERE MY PROBLEM BEGINS --->
    <h4>Number4. City info after searching for "s"</h4>
    <cfloop index="Counter"  from="1" to="#arrayLen(cityarray)#">
        <cfset sPosition=findNoCase("s",cityarray[Counter][1])>
        <cfoutput>
        City: #cityarray[Counter][1]#,
      State: #cityarray[Counter][2]#,
        Code: #cityarray[Counter][3]#
        </cfoutput>
       <cfif sPosition GT 0><!--- Just display the exclamation mark--->
        <cfelse> <!--- Add whatever you like, or nothing, here--->
        (no 's')
        </cfif>
        <br>   
    </cfloop>

  • Add Counter at the end of file name

    Hi all,
       I am using NFS protocol and trying to add counter at the end of the file. I have given the Prefix as  '-'
    Format : 1
    Step: 1
    Mode: After First File
    Is the prefix is right? Am i giving the values in right way? Please help me.
    The format required is: test_1.xml
    Thanks,
    Sri

    HI Arun,
    I m not so sure but i think prefix can not have any special character.
    You can do this by giving your file name in target->file name schema as File_* while configuring your communication channel.
    After that it will add automatically your required counter.
    thanks.

  • File share gets "-1" added at the end of share name

    Hi all,
    I am running on Mac OS X Mavericks and had a folder shared under the name "DATA" in my local network.
    The folder was sitting on an external hard drive.
    I had to replace the drive due to a hard disk failure.
    After restoring from backup and setting up everything on my new disk I wanted to share the folder "DATA" again under the name "DATA" in my network.
    The other Macs in my network see this folder now under "DATA-1"
    I removed the previous "DATA" share and searched all settings. Somehow Mac OS still has the old "DATA" in a configuration file somewhere and doesn't accept a second folder under the name "DATA".
    It adds "-1" to the end of the shared name.
    This is the case for all my other shares and it is very annoying, as I cannot use my old links from all the other machines anymore.
    Where can I manually edit this via terminal to get rid of the old folder share name?
    Thanks for you help!
    Can

    What is happening here?
    Something's trying to access it when it's not available to the computer. Whenever it happens, eject it, choose Go to Folder from the Finder's Go menu, enter /Volumes/ as the path, move all folders inside to the desktop or Trash as desired, unplug the drive, and reconnect it.
    (49391)

  • How to delete a character at the end of each line in a file

    Hi
    How to remove a character or symbol at the end of each line in a file?
    I am having a file with every end of line conatins special chars @.
    I need to remove or delete that sysmbol from file.
    Regards

    JoeBorland wrote:
    File is large about above 20,000 lines.
    I need to find the optimum solution.
    Like reading a file and find the end of character and writing into a file.
    The above way is correct or any other way?Try it and see. Such a program will only be a dozen lines long.

  • Adding a pipe character '|' at the end of each line

    How can I add a '|' at the end of each line in a text file?
    Please provide an example.
    TIA

    Using Readers and Writers are often a better choice for text: they are designed for character-based I/O, handling different character set encodings and thus more easily localizable.
    BufferedReader and PrintWriter are buffered which in many cases will increase performance.
    These classes also provide line-oriented methods, readLine() and println(), which will handle end-of-line delimiters in a platform-independant way.
    BufferedReader in = null ;
    PrintWriter out = null ;
    try {
        in = new BufferedReader(new FileReader("infile.txt")) ;
        out = new PrintWriter(new FileWriter("outfile.txt")) ;
        String line ;
        while ((line = in.readLine()) != null) {
            out.print(line) ;
            out.println('|') ;
        out.flush() ;
    } catch (FileNotFoundException e) {
        System.err.println("problem opening file for read: "+e) ;
    } catch (IOException e) {
        System.err.println("problem reading file: "+e) ;
    } finally {
        try {
            if (out != null) out.close() ;
            if (in  != null) in.close() ;
        } catch (IOException e) {
            System.err.println("problem closing files: "+e) ;
    }

  • Inserting a character at the end of a paragraph IF the next paragraph is a certain style

    Hi,
    I have found a section of a collegues script that will insert a bullet at the end of a paragraph if the PREVIOUS para is styled with a certain style, I have been trying to modify it to work if the FOLLOWING paragraph is a certain style instead but as I am not sure how the "insertionPoints[f[i].index-1].appliedParagraphStyle.name" part of it is working I have hit a brick wall. Can anyone shed any light on this?
    thanks
    myDoc = app.activeDocument
    // This part checks if "News text para indent" is followed by "News title regular" and inserts a bullet
    app.findGrepPreferences = null;
    app.findGrepPreferences.appliedParagraphStyle = "News text para indent";
    app.findGrepPreferences.findWhat = "^.+$";
    f = myDoc.findGrep();
    for (i = 0; i < f.length; i++)
        var inser= f[i].insertionPoints.length
      if (f[i].parentStory.insertionPoints[f[i].index-1].appliedParagraphStyle.name == "News title regular")
    var bullet =  f[i].parentStory.insertionPoints[f[i].index+inser-1].contents="\u25CF"

    OK thanks much,
    So to do that, do i begin by highlighting the last frame (the last frame of the movie itself - actual film image) on the timeline, and go to main menu and select Insert>Timeline>Keyframe?  Then insert stop(); on the last frame via the actionscript panel?
    Then highlight the first frame and insert the setTtimeout() and  play() onto the first frame?
    I inserted the stop() command on the last frame and the clip now stops...
    I tried adding this script on the last frame and clip stops but does not repeat after 5 seconds...
    stop()
    setTimeout(5)
    play();

Maybe you are looking for

  • Need to add number of days to users end date.

    Hi, I have a code where we are adding number of days(30) to current date and then updating user's end date in IDM DB. Now we have a requirement where we need to add number of days(30) to existing end date of user instead of adding to current date. *p

  • Can I use my iPhone 6 out of the box to take photos, before syncing it with my computer?

    I will be receiving a new iPhone 6 at the beginning an upcoming trip and would like to use the great camera on it to take photos. The problem is I won't have my computer with me during this trip. Will I be able to use my iPhone right out of the box t

  • Problem in ALV grid download to excel

    Hello Gurus, I have a ALV report which has 40 columns but at a time it will only display 100 records(max). when I am trying to download it into excel (by using standard funcationality) only headings are getting downloaded. I checked out standard tabl

  • How to get mysql error as a message on java

    hi, can any one please tell me how we can get the error generated by Mysql database during runtime as a message on a java program form. thanks

  • Problem with my USB drive

    My MacbookPro (mid 2010) is not recognising any USBs that I'm inserting into it. I'm not sure what/ how it happened, but is there some way I can restart my MBP to the previous session when there weren't any issues with it? If that isn't the way to do