Giter Site home page Giter Site logo

Comments (3)

brandonp42 avatar brandonp42 commented on May 30, 2024

Take this with a grain of salt because I can't actually use the system debugger on the XMLSERVICE right now, but FWIW I think the service program calls either need a SETALLEN before the prototyped call or use SETALLEN & CALLX instead of the prototype call.

Also it might be possible to use CALLPGMV with a service program function but I wasn't sure based on the IBM documentation for it. If you can do that it would be very similar to the call *PGM stuff instead of doing something totally different.

Update: It turns out that the service program is being called via the PASE functions, not the ILE functions as I originally thought. It's ultimately using Qp2CallPase(). The RPG documentation at https://www.ibm.com/docs/en/i/7.3?topic=functions-parms-return-number-parameters indicates that %PARMS needs an operational descriptor to be passed but I haven't found anything yet that indicates how one might do that from "another ILE language". Even though the XMLSERVICE is actually RPG that caveat applies because it's not calling things the normal way a regular RPG program would.

from xmlservice.

brandonp42 avatar brandonp42 commented on May 30, 2024

Does anybody know if we converted the Qp2CallPase() calls to use _ILECALLX would it be possible to somehow generate the operational descriptor that RPG needs to support %PARMS? Ie maybe if the argument list is prepared with build_ILEarglist() first?

from xmlservice.

brandonp42 avatar brandonp42 commented on May 30, 2024

With the latest comment on the NodeJS iToolkit issue it seems like this is not possible to fix without IBM i Idea 3080 (https://ibm-power-systems.ideas.ibm.com/ideas/IBMI-I-3080) being implemented.

from xmlservice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.