Giter Club home page Giter Club logo

pcml-om's People

Contributors

dweibel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pcml-om's Issues

Generating PcmlDao for pcml version 4.0

Hi Dirk,

I've been unsuccessful in trying to generate a PcmlDao object for the following kind of PCML file:

<pcml version="4.0">
   <program name="MYPGMNAM" path="/QSYS.LIB/%LIBL%.LIB/MYPGMNAM.PGM">
      <struct name="MYPGMN" usage="inputoutput">
         <data ccsid="00297" init="" length="10" name="PARM1" type="char" usage="inherit"/>
         <data ccsid="00297" init="" length="10" name="PARM2" type="char" usage="inherit"/>
         <data ccsid="00297" init="" length="11" name="PARM3" type="char" usage="inherit"/>
         <struct count="10" name="STRUCT1" usage="inherit">
            <data ccsid="00297" init="" length="10" name="STRPRM1" type="char" usage="inherit"/>
            <data ccsid="00297" init="" length="7" name="STRPRM2" type="char" usage="inherit"/>
            <data ccsid="00297" init="" length="2" name="STRPRM3" type="char" usage="inherit"/>
         </struct>
         <data ccsid="00297" init="" length="1" name="PARM4" type="char" usage="inherit"/>
         <data ccsid="00297" init="" length="3" name="PARM5" type="char" usage="inherit"/>
         <data ccsid="00297" init="0" length="13" name="PARM6" precision="0" type="zoned" usage="inherit"/>
         <struct count="100" name="OTHSTRU" usage="inherit">
            <data ccsid="00297" init="" length="2" name="PSTRU1" type="char" usage="inherit"/>
            <data ccsid="00297" init="" length="3" name="PSTRU2" type="char" usage="inherit"/>
            <data ccsid="00297" init="0" length="10" name="PSTRU3" precision="0" type="zoned" usage="inherit"/>
         </struct>
         <struct count="100" name="STRU3" usage="inherit">
            <data ccsid="00297" init="" length="2" name="SP1" type="char" usage="inherit"/>
            <data ccsid="00297" init="0" length="3" name="SP2" precision="0" type="zoned" usage="inherit"/>
            <struct count="10" name="STRU4" usage="inherit">
               <data ccsid="00297" init="" length="2" name="PSR1" type="char" usage="inherit"/>
               <data ccsid="00297" init="" length="1" name="PSR2" type="char" usage="inherit"/>
            </struct>
         </struct>
      </struct>
   </program>
</pcml>

I've trying processing the received PCML file myself abit, adding struct type params, but this is the file that has been working on an older version of the application I'm working on and this is what I have to work with.
Also any processing I made didn't seem to work.

Do you know if this library supports nested structs?

Thanks,
Alex

Issue executing callAs400 on PcmlDao

Hey,

First of all, thanks for the awesome tooling!

My issue is the following:

private static final AS400 mysystem = new AS400("system", "username", "password");
...
PcmlDao program = new PcmlDao("PROGR", classLoader, "xmlmapper", classLoader);
program.callAs400(mysystem, programName, new Object[]{ item1, item2, item3 });

Getting compile-time error on mysystem at callAs400 call.

'callAs400(AS400, java.lang.String, java.lang.Object...)' in 'org.pcml_om.PcmlDao' cannot be applied to '(com.ibm.as400.access.AS400, java.lang.String, java.lang.Object[])'

I'm using JTOpen 8.4.

Thanks for any help,
Alex

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.