Opcode remove space in RPG/400 (RPGIII)

45 pts.
Tags:
AS/400
RPG READE Opcode
RPG/400
in RPG IV --> Trim

in RPG III --> ?

Ex 

var1 length=10  var2 length=10

var1 = 'AAA'

var2 = 'BBB'

var1  cat  var2  ---> 'AAA       BBB       '   

i want --> 'AAABBB'

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • AOM
    [...] this article: Opcode remove space in RPG/400 (RPGIII) AKPC_IDS += "49713,";Popularity: unranked [...]
    0 pointsBadges:
    report
  • philpl1jb
    C STR1 CAT STR2:0 TEMP P The :0 indcates on factor 2 makes this act like TEMP = %rtrim(STR1) + STR2 It doesn't use the trailing spaces on STR1. It Cats STR2 on, leading spaced and all. The P will fill out the result with spaces. http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref.doc/evferlsh269.htm Phil
    49,960 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following