I am new in as400 programming area, In an interview I was asked How to reverse a String in rpg.
I wrote the fixed lenght string program but don't know how to write it for Variable length string.
I an declaring an array in RPG as:
DStringR s 15A DIM(%len(%trim(String)) )
I am not getting any compile time error , but my program is not running.
October 20, 2011 6:39 PM
March 17, 2012 7:21 AM