Giter Site home page Giter Site logo

Comments (3)

kadler avatar kadler commented on May 30, 2024

I'm not sure why the first method is not working. For the second method, you have some parameters backward. I think what you want is:

itool.add(
iPgm('my_key','OC005')
.addParm(iData('gcnusr','2p0', '1'))
.addParm(iData('gcnuec','6p0','56217'))
.addParm(iData('$status','1a',' '))
)

from python-itoolkit.

jkyeung avatar jkyeung commented on May 30, 2024

itool.add(iCmd('callpgm', "CALL PGM($$CLI00O/OC005) PARM(X'001F' X'0056217F' ' ' )"))

The second parameter being passed to OC005 above is a 4-byte packed value; in your other attempt, you seem to try to define it as 6p0.

all i see is success , however the call CALL PGM($$CLI00O/OC005) PARM(X'001F' X'0056217F' ' ' ) does not call the programm OC005.

How do you know it's not called? What is OC005 supposed do? It seems extremely unlikely to me that you would get a successful return in the output dictionary if the program wasn't run.

from python-itoolkit.

kadler avatar kadler commented on May 30, 2024

There's been no activity on this in 10 months so I'm closing. Please re-open if you are still having problems.

from python-itoolkit.

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.