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.  Convert datas extracted from SQLDA

    Posted Tue February 16, 2021 03:49 PM

    Hello everyone. I am currently working on a module that must, from a given string, execute a SQL command, retrieve the datas and convert them into RPG variables (int, packed...).

    I am already able to extract SQL datas using the SQLDA but I can't properly convert them into RPG variables mainly because SQLLEN is always equal to *loval.

    I am working in fully free RPG.

    Has anyone already faced such a situation ?





    #Support
    #SupportMigration
    #IBMi


  • 2.  RE: Convert datas extracted from SQLDA

    Posted Thu February 18, 2021 03:14 PM

    Hello everyone. I am currently working on a module that must, from a given string, execute a SQL command, retrieve the datas and convert them into RPG variables (int, packed...).

    I am already able to extr https://1921681001.id/ act SQL datas using the SQLDA but I can't properly convert them into RPG variables mainly because SQLLEN is always equal to *loval.

    I am working in fully free RPG. https://19216811.cam/

    Has anyone already faced such a situation ?

    issue got solved!!





    #Support
    #SupportMigration
    #IBMi


  • 3.  RE: Convert datas extracted from SQLDA

    Posted Tue March 02, 2021 11:33 AM

    Hello, can you please provide some details on how you resolved this?

    Thank you.





    #SupportMigration
    #Support
    #IBMi