IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
  • 1.  9.8 Vs compile & source positionning

    Posted Mon December 09, 2024 08:49 AM

    Hi all, i have a small problem but i am getting more and more frustrated.

    I change a piece of code on a program, i compile to verify the changes, when the compile resumes with no error, it randomly position the source at the beginning or somewhere else !!!!! Then i need to find that piece of code again !

    I filter the errors to remove information & warning

    Not sure what to do, i juste want it to stay where i was in the program when i compile !!

     



    ------------------------------
    Michel Doucet
    ------------------------------

    #RationalDeveloperfori


  • 2.  RE: 9.8 Vs compile & source positionning

    Posted Tue December 10, 2024 12:50 AM
    Hi,

    which version of RDi 9.8 do you use? Does it also happen, if you don't filter warnings?

    Which source type is it? And which command do you use to compile the source? Batch or interactive?

    Which release have you installed on the IBM i? And do you have the latest PTFs on it?

    That behavior never occurred to me, but the info might be useful. The compilation is an orchestrated process between RDi on the client and the compiler on the IBM i.

    HTH
    Daniel




  • 3.  RE: 9.8 Vs compile & source positionning

    Posted Tue December 10, 2024 08:50 AM

    Hello Sir !

    -I am using the latest version of RDi 9.8.0.3 (20241112_1824)

    -I having the same problem with all source types, RPGLE, SQLRPGLE etc ... From a command, i compile in batch and a CLP program call the appropriate compiler according to the source type

    -V7R4M0, not sure about the PTFs

    -Same problem if i don't filter the messages

    -I have this problem since i installed 9.8, it is ok with the old 9.6 version

    Thank you sir !



    ------------------------------
    Michel Doucet
    ------------------------------



  • 4.  RE: 9.8 Vs compile & source positionning

    Posted Wed December 11, 2024 02:02 AM

    Hi there,
    this issue exists for a long time and me and my team have the same effect.
    Most of us running Apple Mac with latest OS and latest RDi version.

    I told Steve from Fortra about this and he forwarded it to the LPEX Team.
    We really hope that they fix it soon because it is really frustrating....

    In the meantime we are working and enhancing the VS Code environment for RPG with Code4i and create some Add Ons to make it more "compatible" with Old and larger old code.

    For new (procedure driven) code we already use VS Code a lot.

    It is faster and most of our team already knows it from other Languages and WE HAVE CODE folding within, without typing XX all the time (YEAH)....

    Nevertheless if someone has a solution for this issue we will be very happy.

    Kind regards

    Markus



    ------------------------------
    Markus A. Litters
    ------------------------------



  • 5.  RE: 9.8 Vs compile & source positionning

    Posted Tue December 10, 2024 11:41 AM

    I can confirm the reported behavior.



    ------------------------------
    Reeve Fritchman
    Principal
    InfusedQuality LLC
    BAINBRIDGE ISLAND WA
    +1 (206) 780-8875
    ------------------------------



  • 6.  RE: 9.8 Vs compile & source positionning

    Posted Wed December 11, 2024 01:17 AM
    I'm looking through the preferences right now - it sounds like something might be there.

    What happens if you have an error? Does it automatically jump directly to the error after compiling?

    As an idea - try to press CTRL+Q before compiling you should be able to jump to that position with ALT+Q then later. This might work.

    I don't think this is an defect - I think there might be some preference active that tries to jump to the first error line or something - and as it finds only infos and warnings it jumps there.

    But I might be wrong.

    Regards,
    Daniel




  • 7.  RE: 9.8 Vs compile & source positionning

    Posted Wed December 11, 2024 07:14 AM

    Hi,

    it does not automatically jump to the error after compiling, i have to click on the error

    CTRL Q/ALT Q look interesting, thank you !



    ------------------------------
    Michel Doucet
    Senior Programer/Analyst
    Keyloop Canada LTD
    QC
    ------------------------------