AS/400 Free RPG CORRUPTION ON ASSIGNMENT

15 pts.
Tags:
AS/400 Free RPG CORRUPTION ON ASSIGNMENT
Hi, I have an issue, Exec SQL Set :Track1r = REPLACE(TRIM(:Track1),'',''); Exec SQL Set :Track2r = REPLACE(TRIM(:Track2),' ',''); Trackr2r is ok after the assignment. Track1r is corrupted after the assignment and Track1 is fine. I haven’t had this issue previously, Please I appreciate if anybody can give me a hand to clarify what’s happening. Thanks,
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Egomez42
    The same results  are occurring with this other way :
     TRACK2R=TRACK2; 
     TRACK1R=TRACK1; 
    15 pointsBadges:
    report
  • TheRealRaven
    Impossible to say without seeing all relevant definitions. Please post the details needed for us to understand what the code is doing.
    34,360 pointsBadges:
    report
  • ToddN2000
    If your code above is correct, check the quotation marks being used. They are different in each statement.
    131,380 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: