What this small code does? And how do I do it in Unicode.

Hi.
I got the following code and I really don't know what it does or even why. All I know It's not UC enabled ( since it's uxinf the type x).
I was thinking I might be converting from ascii representation to text or something like that but I'm not that sure.
FORM TRANSLATE_FIELD USING    STRING_TRAN
                     CHANGING STRING1.
  DATA: STRING(255),
         len1(3) type i,
         LEN(3)  TYPE I,
         NUM(3)  TYPE I,
         I(3)    TYPE I.
  DATA: C VALUE 'A',
        X TYPE X.
  FIELD-SYMBOLS:<fc> type c.
  STRING = STRING_TRAN.
  len1 = strlen( STRING ).
  LEN = 0.
  NUM = 0.
  while len < len1.
    i = STRING+len(3).
    move i to x.
    assign x to <fc> casting type c.
    move <fc> to c.
    MOVE C TO STRING1+NUM.
    len = len + 3.
    NUM = NUM + 1.
  endwhile.
ENDFORM.                    " TRANSLATE_FIELD
Thanks
Ariel

Hi.
I want to make this small code UC enabled. Since there is a move of TYPE x into char this is not OK at the mopment.
the problem is I don't really know or understand how to convert itr to UC enabled program.
You can notice it takes clusters of 3 chars (bytes ?) long and convert them to char.
For example 101 = e 100 = d 099 = c.... :-> 101099101 -> ece .
Thanks
Ariel

Similar Messages

  • What is error code 3194 and how can i past this for i can update my ipod to 5.0.1, what is error code 3194 and how can i past this for i can update my ipod to 5.0.1

    what is error code 3194 and how can i past this for i can update my ipod to 5.0.1, what is error code 3194 and how can i past this for i can update my ipod to 5.0.1

    This device is not eligible for the requested build: Also sometimes displayed as an "error 3194." If you receive this alert, update to the latest version of iTunes. Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to performunauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. First you must uninstall the unauthorized modification software from the computer, then edit out the "gs.apple.com" redirect from the hosts file, and then restart the computer for the host file changes to take affect.  For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Troubleshooting iTunes Store on your computer, iPhone, iPad, or iPod—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart. Also, using an older or modified .ipsw file can cause this issue. Try moving the current .ipsw file, or try restoring in a new user to ensure that iTunes downloads a new .ipsw.
    Error 3194: Resolve error 3194 by updating to the latest version of iTunes. "This device is not eligible for the requested build" in the updater logs confirms this is the root of the issue. For more Error 3194 steps see: This device is not eligible for the requested build above.
    Above from:
    http://support.apple.com/kb/TS3694

  • What is error code 603 and how does one fix it?

    What is error code 603, please, regarding add-on installation?  (The error codes page says for "error 6xx" to contact the Exchange online forum for assistance..)  It is a "failed online license check" for an add-on that is a free add-on listed on the Adobe Add-ons page as compatible with PS CS6, CC, and CC 2014, as well as all three versions of a bunch of other apps.  It is a Flypaper app, which looks to have been reworked to be compatible with the new 2014 apps.  Since Flypaper apps come from reliable source, I'm not sure what the error means, and I'm certainly not sure how to remedy this.  (The original Russell Brown Paper Textures Pro works fine on PS CC but isn't compatible with 2014.)
    I am running Win 7 64-bit.
    Thanks.
    Gail
    p.s.  numbers of other extensions still don't download  to PS 2014, so maybe this is also waiting for an Adobe fix??

    The add-on in question is called "Flypaper Select" (by Flypaper Textures).
    This morning, when I sent  the question, it was on last page of the free PS
    add-on list and showed the add-on as compatible with all three latest PS
    versions.  Tonight, when I click on the add-on in "my add-ons" list, it now
    shows compatibility only with PS6 and CC, and  I can no longer even find it
    in the big add-ons list.  I will try to send screen shot of "my add-ons" to
    the address you listed.  It is also below.
    Thanks for your help.  I have been finding many add-ons change from day to
    day, and many won't show up in Extensions window even though the desktop CC
    app says they have been installed.  I assume I am not the only person with
    these problems.
    Gail

  • What is error code 9977652 and how to fix it?

    I can't seem to star up my computer and the error code is 9977652, how do I fix this problem? It jets stuck on the apple icon and gets overheated in no time. I am worried, please help.

    Hi,
    Try running the hardware test during boot:
    Using Apple Diagnostics - Apple Support
    otherwise try booting from the recovery partition:
    OS X: About OS X Recovery - Apple Support
    Where does it get stuck and when are you presented with the error code?
    Jeffrey

  • What is Error Code 3 and How Do I Fix It?

    Hi,
    I'm a designer, not a developer, so please forgive my
    ignorance, but I am experiencing a serious problem trying to create
    and update pages using our site's templates. This is a sudden, out
    of the blue, problem. I've created a 100+ page website in
    Dreamweaver 8, using a series of three templates. I was almost done
    beta testing the site and preparing to launch when the following
    happened:
    1. Opened a template page to updated some basic text.
    2. Clicked to close file. Dreamweaver asked if I wanted to
    update the pages based on the template. I clicked the update pages
    option.
    3. Received this error message for every page based on that
    template:
    "Error accessing file
    'Z:\isnp_office\Web-Dev\ISNPSwebsite\~isnps\templates\isnpstemplate.dwt";
    bad path file (error code 3).
    The thing is, the path name that Dreamweaver lists above is
    not the true path name, if were you to drill down through the files
    on our server to get to it. The true path name does NOT include
    \~isnps\. Our remote path DOES include \~isnps\, which is part of
    our URL. I don't know why it is inserting this extra information
    into the local path name.
    This problem is happening with ALL the templates so that I
    can't update a single page in the website. I've tried refreshing
    the path name in "Manage Sites." and even created a new folder for
    the site and tried to try and refresh it that way. Nothing so far
    has worked.
    Can anyone explain what's happening here? Please bear in mind
    that I am not a computer techie, so you're going to have to answer
    in idiot's terms.
    Thank you!

    Hello Ray-2,
    Welcome to the HP Support Forums! I see when you attempt to use your HP Envy 4500 you get an error 41 on your computer. I was able to find this great solution by fellow Community member  @Cheetah12:
    First, I would recommend restarting the Print Spooler on your computer: Source: Print Jobs are Stuck in the Print Queue.
    On the Windows taskbar, click the Windows icon ( ), type admin in the Search programs and files box, and then click Administrative Tools .
    Double-click Services .
    Right-click Print Spooler .
    Click Stop to stop the Print Spooler.
    Click Start to restart the Print Spooler.
    Restart the computer.
    Try the print job again.
    Next, let's try a system file checker on your computer by following this Microsoft document on here. This tool will scan your system files and to repair missing or corrupted system files. Please let me know if this repairs any files on this post. 
    Now go ahead and uninstall the software: Uninstalling the Printer Software
    Once this is complete, I would like you to perform a clean boot on your computer. Please follow this Microsoft document here. This helps eliminate software conflicts that occur when you install a program or an update or when you run a program.
    You can install a driver using the HP Printer Install Wizard for Windows it was created to help Windows 7, Windows 8, and Windows 8.1 users download and install the latest and most appropriate HP software solution for their HP Printer.
    If you have an older Operating system  please let me know. I will watch for the results.
    Thanks,
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • Any idea what this search box is and how to eliminate it?

    When I do a search using Google Search a tan window appears above the search results and below the text window and search options/tools.
    How do I eliminate this from appearing in my browser search result when using Google search?
    The links within this tan window redirect me to sites such as:
    http://www.ideasgames.com/search/?q=search&submit.x=-1238&submit.y=-68
    or
    Google-co.com
    Source code for above link:
    <!doctype html><html itemscope="itemscope" itemtype="http://schema.org/WebPage">
    <head>
    <title>Connecting ... </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <script Language="Javascript" type="text/javascript">
    function zzzz(){
    document.cccc.submit();
    </script>
    </head>
    <body onload="zzzz()">
    <form name="cccc" action="/adv/go/" method="get">
    <noscript>
    <input type="submit" value="Please click here to proceed to the website.">
    </noscript>
    </form>
    </body>
    </html>

    Fixed, it was a malicious extension.
    The offending Extension was: "IE Tab Plus 2.0.0.0"
    Looks like embedded hidden search redirect.
    Not to be confused with IE Tab +
    Thanks for the help!!!

  • What is error code - 36 and how to fix it?

    i am backing up my mac when i encounter this error during my iphoto transfer. May i know what is this error? apparently i am facing lots of lag and so i am in the process of reinstalling the whole system

    If you're backing up with Time Machine, please do as follows.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the word "Starting" (without the quotes) in the String Matching text field. You should now see log messages with the words "Starting * backup," where * represents any of the words "automatic," "manual," or "standard." Note the timestamp of the last such message that corresponds to a failed backup. Now
    CLEAR THE WORD "Starting" FROM THE TEXT FIELD
    so that all messages are showning, and scroll back in the log to the time you noted. Select the messages timestamped from then until the end of the backup, or the end of the log if that's not clear. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.
    If all you see are messages that contain the word "Starting," you didn't clear the text field.
    If there are runs of repeated messages, post only one example of each. Don't post many repetitions of the same message.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Some personal information, such as the names of your files, may be included — anonymize before posting.

  • I cant understand what this problem... and How to create two channel

    i have try solve this problem and there are still happen again....and someone can help me... the another one..there are have solution to design 2 physical channel in my project. Someone can give me advice, any idea and suggestion...t.Q 
    Now i have attach my final project.vi
    Attachments:
    Oscilloscope_B.llb ‏130 KB

    OK this is by no means a finnished product. I added a state machine and tried to show you how to do some of the things that you are looking for.
    Tim
    Johnson Controls
    Holland Michigan
    Attachments:
    Oscilloscope.zip ‏119 KB

  • What is error code 8010 and how to fix it in windows 7

    Why do I get error code 8010 when I try and download in itunes on windows 7

    Hello the56reb,
    The article linked below details a number of troubleshooting steps that can help resolve issues with downloading content from the iTunes and App Stores.
    Can't connect to the iTunes Store
    https://support.apple.com/en-us/HT201400
    There may also be a conflict with security software installed on your computer, as such software can interrupt proper communication between iTunes and the stores.
    Resolve issues between iTunes and third-party security software
    https://support.apple.com/en-us/HT201413
    Cheers,
    Allen

  • HT1222 what is error code 2324 and how do i fix it

    how do i fix the problem of error code 2324

    Let's try the fixit from the following Microsoft document with that one:
    Fix problems with programs that can't be installed or uninstalled

  • Can anyone tell me what this pattern is called and how to get rid of it?

    Thanks in advance.

    There's no name for the pattern.  The photo was printed on a paper having a surface texture, and that texture was picked up by the scanner.
    The best thing to try is re-scanning the photo and using the scanner's software to reduce the amount of surface texture picked up by the scan.
    Working with the photo you supplied is problematic because that texture pattern is impossible to remove while still keeping some details.  What I decided to do was:
    Only work on the worst areas of surface texture.
    Overwrite the surface texture pattern with another, more acceptable pattern.
    Reduce the effect of that applied pattern.
    So here are the steps:
    Select the most obvious areas of surface texture:
    Use the Filter Gallery to apply a "Grain" to the selected areas using these settings:
    Adjust the Brightness/Contrast of the selection as follows:
    Apply a Gaussian Blur to the selection with these settings:
    Here's the final result:
    Ken

  • I received error code (-50) when trying to restore my iPad. Does anyone know what this error code means?

    I received error code (-50) when restoring my iPad2. Does anyone know what this error code means and how to fix it?

    See the  More Like This  Section on the right...

  • What is JS.Agent-58 and how do I get rid of it?

    Hello.  I just ran a ClamXAv scan and it came up with a trojan called JS.Agent-58.  It's the weirdest thing because it is in a file I would never expect it to be in.  I buy a lot of things online and I do not print my receipts.  Instead I save them as PDF files.  The Trojan is in a Macy's PDF saved receipt from November.  I have no idea how it got there.  Anyway, if I delete the receipt, will that be enough.  Can somebody tell me what exactly this particular Trojan does and how to tell if it has been downloaded on my computer.  And, will someone tell me how to completely remove this Trojan from my computer, if it is indeed on my computer?  Please and Thank You.

    First a couple of tips:
    As I mentioned to the OP, for fastest, most efficient answers to questions such as this, visit the ClamXav Forum.
    Secondly, nobody but the OP and I will probably ever see your posting here. Only those who post or choose to follow a discussion will ever notice a new posting. For future issues, if you don't find the answer in an older discussion, then you will always be better off posting a new topic which will attract attention from other troubleshooters who are currently on line. That's just the way the forum works best.
    The Happy Crab wrote:
    ClamXav has identified a virus which I seem to have gotten in August 2014 called JS Agent-58 that is NOT in my mail but is a Page.webarchive filename.  I have rescanned and had it quarantined but what do I do now and how did I get it in the first place?
    I would need to know where it came from originally in order to have any idea how you got it. That information may still be in you scan log, so here is how to find it:
    In ClamXav open the Scan Log by clicking the icon on the tool bar
    When the "clamXav-scan.log" (or "ClamXav-scan.log" for the App Store version) window opens, you will only be looking at the only the most recent results
    Select Find->Find from the Edit menu or type Command-F
    Type "FOUND" in all caps and without the quotes in the Find box
    Uncheck the "Ignore case" box and hit enter
    Click the "Next" button or type Command-G until you find what you are looking for
    If it doesn't show up in the most recent results, use the "▲ Earlier|" button in the lower right corner of the window to move back through the log.
    Copy the entire line and paste it into a reply back here.
    There is an easier way to do this using the Terminal app, but I would need to know which version of ClamXav (App Store or web site) you used to find it.
    Be sure you read general guidance in Dealing with infected files. Moving it to quarantine has disabled it. You should probably make sure this isn't a file you need before moving it to the Trash Can, but that would be next. It's always possible this is a false alarm, but I doubt it.
    Hopefully you have already read my analysis of what this is and understand there is close to zero chance it could affect your computer.

  • Running thread - which statement to get to know what this thread is doing

    Hallo,
    I have a thread in my database running.
    Normally the action I am doing with this thread lasts 1 hour. Now it is working for 3 hours.
    How can I get to know what my thread is doing and how long this will last? Which statement can I use?
    Thanks in advance, Jadexy

    This query shows what a session is doing:
    select s.sid
    ,(a.APPLICATION_WAIT_TIME / 1000000) as APPLICATION_WAIT_TIME
    ,(a.CONCURRENCY_WAIT_TIME / 1000000) as CONCURRENCY_WAIT_TIME
    ,(a.CLUSTER_WAIT_TIME / 1000000) as CLUSTER_WAIT_TIME
    ,(a.USER_IO_WAIT_TIME / 1000000) as USER_IO_WAIT_TIME
    ,(a.CPU_TIME / 1000000) as CPU_TIME
    ,(a.ELAPSED_TIME / 1000000) as ELAPSED_TIME
    ,a.ROWS_PROCESSED
    ,a.disk_reads
    ,a.buffer_gets
    ,a.direct_writes
    ,a.optimizer_mode
    ,a.sql_text
    from v$session s, v$sqlarea a
    where s.sid = &YOUR_SESSION_ID
    and a.sql_id = s.sql_id
    order by 1
    Times are shown in seconds.

  • Does anyone know what this error code means?My itunes will not open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll."

    Does anyone know what this error code means?My itunes will not even open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll." Please let me know if your know anything! It is greatly apprecitated!

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

Maybe you are looking for

  • How do you determine the firmware version for a laptop docking station?

    How do you determine the firmware version of a HP docking station? Laptop Model: HP 2740p OS: 64bit Windows 7 Expansion Base: 2740 Ultra Slim Expansion Base WA995AA#ABA Thank you for any assistance. Alvin

  • Oracle initialization in progress due to logfile corruption - startup error

    Hi All! I m using Oracle Release 9.2.0.1.0. Due to power outage, it seems that one of its Redo files is corrupt and it is not getting started. My database is running in no archive mode and I donot have any backup for my data. I have performed the fol

  • Java Code in a text file

    Hi, I need an information if whether anything like this can be done in java or not !! The requirement is to place the jave code statements into a text file and dynamically execute these statements which have been placed in the file. for eg: if a text

  • Intracompany sales/stock transfer management processes with WBS and New G/L

    Hi all, we have a scenario in which we need to transfer project stock between two projects. Both belong to the same Company Code. The transfer must be conduct as if it was a sale. Basically the scenario is the following: 1) Material A is in stock of

  • I can't open the lightroom

    My Lightroom is: 5.3 64 bits I bought it in the last promotion with the Photoshop My OS is Windows 8 I can't open the Lightroom, it appears a message saying "corrupt catalog detected" (in Spanish) and even give you repair, display, etc .... I can not