Search code examples
ibm-midrangerpglerpgrational-developer-for-i

Does RDi convert RPG fixed form code to free form?


In RDi, am looking to refactor some RPG code and right clicked on fixed definition of field, then 'Convert Selection To Free-Form'. Would you expect this action to convert the field definition to a free-form definition. I get a 'Conversion complete' message but nothing happens to the selected code.

Tried searching RDi help for this action but couldn't find anything that provides a clear answer. Google turned up this and this. Who knew you could do that with RPG IV book has this.


Solution

  • RDi's fixed to free form converter only works on code (c-specs).

    It's also just a very basic converter, for example it doesn't convert MOVE to EVAL.

    If you want a more full function converter, take a look at Linoma's RPG Toolbox or Arcad's Transformer

    There's also Craig Rutledge's open source conversion tools.