Scripting problem: Add any value to GPRM0 and get 65535?

Here's the beginning part of a script I've written:
1 mov GPRM0, Last Track
2 mov GPRM4, GPRM0
3 add GPRM0, 128
4 mov GPRM5, GPRM0
As an example, Last Track is 49920 (track 6).
GPRM4 and GPRM5 I'm using only for debugging purposes to monitor what happens as a result of the mov and add operations. The actual problem is with GPRM0.
At the time when line 4 is executed:
GPRM0=65535
GPRM4=49920 (as expected)
GPRM5=65535
I can't figure out why GPRM0/GPRM5 contain 65535 instead of 50048. I'm not causing an over- or underflow with the "add" that I can see. What could cause this?
I even tried changing line 3 to be:
3 add GPRM0, 1
and even
3 add GPRM0, 0
but the result is the same with GPRM0/GPRM5=65535.
What am I doing wrong?

Hi Hal,
The reason I had switched to dynamic scripting is because I'd had unexplainable problems with "hardcoded" scripting (these links point to threads in this forum)
http://tinyurl.com/47zkfh
http://tinyurl.com/3kb5jn
I have no idea if the two problems are related and I don't know how to find out.
Because of these problems and not finding a work around or knowing what else to do, I started the project over, and when I did I wanted to see if I could do something that would take fewer scripts (and therefore, I thought, less time to redo).
The play-all-1 tutorial is similar to what I tried before. But today, maybe because the sun and moon are in a different place it'll work. It's worth a shot.

Similar Messages

  • IPhone music will not respond to Play button after being paused. The same music is on my iPad and MacBook Pro without problems. Any suggestions about cause and solution.

    iPhone music will not respond to Play button after being paused.
    The same music is on my iPad and MacBook Pro without problems. Any suggestions about cause and solution.

    Do a
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data

  • Off setting account not displaying any values in FBL3N AND FBLL03

    Hi Experts,
    We did customization and assigned Customer ,Vendor ,plant fileds as special fields in customization client ,which same are appearing in FBL3N and also FBLL03 but without any value.
    I post an entry
    Rent account Dr
    To Vendor account.
    If i select Rent account in FBL3N GL line item display ,there is no value updated in vendor filed.Please help me
    Rgds
    Suma Mani

    Hi,
    In the Standard FBLxN it is not available.
    These are the steps required to have it available:-
    Contra Account in FBLxN
    Transaction FIBF
    Menu>Settings>Products> of a customer.
    New Entry:-
    Product = RFPOS
    Activ = Set Flag
    Save
    Menu>Settings>P/S Function Modules> of a customer
    New Entry
    Event = 00001650
    Product= RFPOS
    Module = Line_Items_Get_GKONT
    Regards,
    Amit

  • Bridge: why can't I add any metadata to gif and pct files???

    Not sure what the issue is here with Adobe Bridge and gif and pct files, but Bridge won't let me add any metadata or keywords.
    With keywords, Bridge displays a window saying that pct and gif files can't add xmp metadata.
    Is there something I'm missing in my settings? Or should I just go ahead and convert all my gif and pct files to jpegs, tiffs or psd.

    Not sure what the issue is here with Adobe Bridge and gif and pct files, but Bridge won't let me add any metadata or keywords.
    With keywords, Bridge displays a window saying that pct and gif files can't add xmp metadata.
    Is there something I'm missing in my settings? Or should I just go ahead and convert all my gif and pct files to jpegs, tiffs or psd.

  • Post value to website and get returned value

    mvc 5 entity framework 6
    How do you submit a zip code to a website and get the returned sales tax?
    http://www.taxrates.com/calculator/

    You're not seriously thinking of relying on some other website without any understanding of the api or service they offer?
    Bad idea.
    I think you're much more likely to be calling a service, if you can find someone offers such a thing.
    You could screen scrape but this is notoriously error prone and you're one captcha away from disaster.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • IPhone 4 sync problems - adds 60,000 blank contacts and calendar hangs

    Since the beginning of this week my iPhone 4 has stopped syncing properly. It adds 60,000 blank contacts to my computer (which take hours to delete) and then completely hangs when it gets to the calendar sync. I left it syncing overnight and it was still at exactly the same point when I came back to it this morning.
    Does anyone else have this problem? And how do I solve it?
    I can't find any mention of it on the Internet.
    I have an iPhone 4 with the latest version of iOS, a late-2008 aluminium unibody MacBook with 2.4GHz Intel Core 2 Duo, and I'm running (stupidly, I suspect) Outlook 2011 SP1.
    This is driving me insane. Please help.
    Also, does anyone know how to get support from Apple? Their support pages are the most confusing things I have ever seen in my life.
    Thank you.

    Me too. Think it is since 6.1.3.
    Interesting other quirk is that as well as NOT syncing my calendar, it also unticks my calendar from pc on the iphone.
    When ii retick it, i get the calendar back, but as it was before the sync, ie, it does not have the bnew events from my pc in it.
    This is a 2 way problem.
    New events on my iphone wont sync to my pc, and new events on my pc wont sync to my iphone.

  • Program with sap scripts doent show any values

    While executing the program with scripts the output doesnt show values from the database. It simply shows the print preview with '&&' values. Pls help me
    Edited by: Gayathri Nair on Mar 12, 2009 8:11 AM

    Hi,
    Check your driver program
    1.you should have used OPEN_FORM with correct sap script form name
    2.have read the data into internal table and with in the loop-end loop you are calling WRITE_FORM
    with the element and the window type shpuld be MAIN to display the data.
    (use the same eleemnt in the MAIN WINDOW defined on the form) then only output will be printed.
    3.Have used the close form outside the loop-endloop.
    Please revert back in case of problem.
    PS:main reason can be the use of elements and the window type as I have also faced the same kind of problem.
    Pooja

  • Dblink adds any value in this case ?

    Our application has an Oracle db.
    We have to get some data (via C# / ODP.NET) from our db tables, call a stored procedure in a totally different (geographically dispersed) database, and then insert some rows in our database based on the stored procedure's output.
    A colleague asked if we should set up a dblink from our db to this other db. I hadn't thought about it, and my initial impression is that the dblink gives us no value in this case. Do you agree?

    If the processing is being done in the C program then I cant see how it will give you benefit other then youll only be making one connection rather then 2.
    currently C program runs
    call rows from db1
    calls proc at db2, depending on results inserts rows into a table at db1
    with a link
    C program runs
    call rows from db1,
    call proc from db1 over link, inserts rows into a table at db1.
    I dont see where theres benefit there other then you only have connection but you gotta rewrite your C to deal with the rows coming over the link. maybe not everythings obvious though. where are the rows to be insert? db2 or db1? if they are in DB2 you could pull them straight in to DB over the link without having to go through the C program. maybe a benefit there.

  • How to update the value of setter and getter..!!

    Hii all i am developing an portal application in which i display the metadata information related to a document(Stored in UCM) in a popup in my application...
    The user can also update the information through the application.
    in my popup i have a trh : table layout in which i have a Select Onechoice field as
    <trh:cellFormat id="xcfcSecurityGrp">
    <af:selectOneChoice value="#{MetaDataFields.DSecurityGroup}" id="ddldSecurityGroup" showRequired="false"
    autoSubmit="true"
    immediate="true">
    <f:selectItems value="#{ContentDataBean.TSecurityGrpList}" id="si1"/>
    </af:selectOneChoice>
    </trh:cellFormat>
    The MetaDataFields.DSecurityGroup show the current security group on document
    and
    ContentDataBean.TSecurityGrpList provide the user with the list of security group to update.
    The current security group i am getting through a map which consist of metadata information for a document :-
    public void setDSecurityGroup(String dSecurityGroup) {
    this.dSecurityGroup = dSecurityGroup;
    public String getDSecurityGroup() throws IdcClientException, IOException {
    Map<String,String> mapValue=ep.getDocumentPropertiesSystem();
    dSecurityGroup=mapValue.get("dSecurityGroup");
    return dSecurityGroup;
    The problem is that whenever i am updating the value for the security group, i am getting the old value, the problem is that i have to every time get value from the map only as it consist metadata information for the current selected document..
    Is there is any way through which i can update the value for this field..??
    Thanks
    JDeveloper - 11.1.1.6.0

    Hi,
    Try binding ValueChangeListener on the selectList. Also set autoSumit property to true.
    Thanks,
    Pandu

  • Numericstepper.value with geturl and GET

    hello all, i am using a numericstepper and wish to pass the
    updated value (user clicks on the numericstepper, value changes)
    via geturl using GET. however, it keeps passing the default value
    of 1 (i set it as 1 via parameters) instead of the value that the
    user has set. any ideas?

    Attached is the full project and html code.  Once the project is open run the "transfer" vi and deploy the webservice.  At the page http://localhost/mywebservice/webpage/simpleCAS.html you have a couple of radio buttons that can be selected.  When these buttons are selected the variables displayed in the "transfer" vi are updated, proving that the data is reaching the vi.  If you go the http://localhost/mywebservice/output you can see the correct output is there as well.  However when you press the "Get variables" button on the input page the variables are not retrieved, and a status code is not available.  Thanks for any suggestions.
    Attachments:
    Web Services Test.zip ‏46 KB

  • Since i have downloaded the new IOS 8 my ipod touch 5G has been much slower, is there any way to downgrade and get the MUCH better IOS 7 back?

    I have recently downloaded the new IOS 8 and it has made my Ipod much slower.
    is there any way to get IOS 7 back or a way to speed up IOS 8?

    Downgrading the iOS is not supported by Apple:
    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • Inserting sequence value from JDBC and getting the same value back

    Hi: Gurus I have a table whose primary key is a sequence. I wonder how to make sure I get the same sequence value back for current transaction so I update the other table whose foreign key is the sequence value from first table.
    E.g lets say I do this
    String query_insert = INSERT INTO table1 (column1, ....) VALUES (HIGHLIGHT_ID_SEQ.nextval, ...);
    pstmt = con.prepareStatement(query_insert);
    pstmt.executeUpdate();
    How I make sure no other transaction update the sequence value so I can read the last inserted sequence value and update the second table with this value
    String query_select = "SELECT HIGHLIGHT_ID_SEQ.currval FROM DUAL";
    pstmt = con.prepareStatement(query_select);
    Regards,
    Rashid.

    <rant>No version again. I wonder why people requiring help want to stay anonymous and never want to type their version, only 4 digits. In this case, jdbc, not only the version of the driver is important, but also it's type. Waving a magic wand again? </rant>
    Look up the returning into clause of the insert statement in the sql reference manual for your version.
    Sybrand Bakker
    Senior Oracle DBA

  • Add multi-value Registery entries

    Hello All,
    I am trying to use the below script to add multi-value registry key
    the script is working fine except he is writting only the last value of the variable
    any help please
    Add-PSSnapin Quest.ActiveRoles.ADManagement
    $data= get-QADUser $env:USERNAME -IncludedProperties MemberOf
    $1= $data.memberof -split(",OU") -split "CN=" | Select-String -AllMatches "_Teachers"
    $2 = $1 -creplace "_Teachers", "*"
    Foreach($item in $2){
    $item
    REG add "HKCU\Volatile Environment" /v Impero_PopulateMyPersonalGroupWithUsers /t REG_MULTI_SZ /s "," /d "[$item]" /f}

    If I understand what you're trying to do, you want all of the values in $2 to be written to the Impero registry value, right?  Get rid of the foreach loop and use this command to set the registry value:
    REG add "HKCU\Volatile Environment" /v Impero_PopulateMyPersonalGroupWithUsers /t REG_MULTI_SZ /s "," /d "[$($2 -join "],[")]" /f
    The reg add command doesn't 'add' values to the current value, so your script example just keeps writing new values until the end of the loop.
    I hope this post has helped!

  • Problem in assigning value from search help

    Hi experts,
              I have created an elementary search help for the custom field (Say for example YFIELD1) via SE11. Selection method's field name is YFIELD2 with same type as YFIELD1.  
    But when I press F4 on YFIELD1, I could see the values list but when i selected any value, it is not getting assigned to my field.
    What my doubt is whether YFIELD1 and YFIELD2 should have same name?
    Please help me to solve this issue.
    Thanks,
    Peri

    Dear Peri,
    Greetings.
    there should not be any problem if your field names are different.
    While creating elementry search help.... make sure that U check both import (IMP) and export (EXP) parameters and activate the search help once again.
    If Ur EXP parameter is unchecked then U will be able to see the list of entries but  it won't get into the field while creating entries in the main table.
    Hope this helps.
    Sathya

  • Problem about put and get

    hi there,
    I met a problem, when i put the data, and get it.
    key data
    aaa aaaaaa
    bbb bbbbbb
    ccc cccccc
    I have put "aaa", "bbb" and "ccc" into db, but when I try to get the key for "aaa" , "bbb", it return the data "cccccc", how can I solve it?
    after that, when i get the key "ddd", "eee" , and all strings are length 3, the key does not in the DB, it also return the data "cccccc". Did I do something wrong on my code?
    void Set1(CString sKey)
    int ret;
    std::string sdb = "test.db";
    Db db(NULL, 0);
    ret = db.open(NULL,
         sdb.c_str(),
         NULL,
         DB_BTREE,
    DB_CREATE,
         0);
    std::string skey, sdata;
    skey = sKey;
    sdata.append(skey);
    sdata.append(skey);
    Dbt key(&skey, skey.length());
    Dbt data(&sdata, sdata.length());
    ret = db.put(NULL, &key, &data, 0);
    if(ret==0){
    TRACE("success\n");
    ret = db.close(0);
    void Get1(CString sKey)
    int ret;
    std::string sdb = "test.db";
    ret = db.open(NULL,
    sdb.c_str(),
         NULL,
         DB_BTREE,
         DB_CREATE,
         0);
    Dbc *cur;
    ret = db.cursor(NULL, &cur, 0);
    std::string skey, s2, a2;
    skey = sKey;
    Dbt key(&skey, skey.length());
    Dbt data;
    memset(&data, 0, sizeof(data));
    ret = cur->get(&key, &data, DB_SET);
    if(ret!=DB_NOTFOUND){
    a2 = (std::string*) data.get_data();
    s2 = (std::string*) key.get_data();
    TRACE("FOUND %s %s\n", s2->c_str(), a2->c_str());
    ret = cur->close();
    ret = db.close(0);
    }

    Hi,
    The problem seems to be with these lines:
    std::string skey, sdata;
    Dbt key(&skey, skey.length());
    Dbt data(&sdata, sdata.length());You are constructing a Dbt with data that is actually a pointer to a C++ std::string object. You want the value to be an actual c style string.
    An alternative would be to construct the Dbts like:
    Dbt key(skey.c_str(), skey.length());
    Dbt data(sdata.c_str(), sdata.length());You will need to create a new std::string out of any data retrieved from the database as well. Since it will now be just a C-style char * string.
    I hope this helps.
    Regards,
    Alex Gorrod, Oracle

Maybe you are looking for

  • SmartView 11.1.2 Can't Connect to Shared Services

    I have posted this thread on the essbase forum, also... I have installed 11.1.2 on Windows 2008 (64bit) in stand-alone mode. I also have Excel 2007 installed on the same machine. I took all of the default ports when setting up the server instance. I

  • How to make a text field required at run time when the user clicks the checkbox ?

    I got a form where , there are several checkboxes and text fields associated with that checkboxes.If the use clicks on the check box then the associated text fields should become required.I have tried the change event and the click event for the chec

  • Does the MBP Late 2006 output 1080p @ 24 Hz?

    I'm planning to hook up my MBP Late 2006 model to a Panasonic plasmascreen. Since the tv supports 1080p/24p Im wondering if the MBP can output 1080p @ 24 Hz? Im planning to use a DVI-I -> HDMI cable. Thanks in advance MacBook Pro gen2,2, 15" (Late 20

  • Error in NWDI   ---     ERROR: failed to resolve reference

    hello everybody, i'm working with was 7.01 i configured my NWDI for a Internet Sales project. In my SLD I added : SAP J2EE ENGINE SAP BUILD TOOL SAP JAVA TECHNOLOGY SERVICES WEB DYNPRO RUNTIME when i try to create project from  crm/home/shr/ext But i

  • OSB - Fault from downstream service being replaced with generic fault

    Hello, Any "XML Service 1" routes to "Any XML Service 2". Any XML Service 2 throws this fault: <con:fault xmlns:con="http://www.bea.com/wli/sb/context"> <con:errorCode>BEA-382612</con:errorCode> <con:reason>Error preparing message for dispatch</con:r