Giter Site home page Giter Site logo

Comments (2)

kadler avatar kadler commented on May 30, 2024

Original comment by Aaron Bartell (Bitbucket: aaronbartell, GitHub: aaronbartell).


Works perfect! Closing issue.

from xmlservice.

kadler avatar kadler commented on May 30, 2024

Original comment by Tony Cairns (Bitbucket: rangercairns, GitHub: rangercairns).


Wrong stored proc iPLUG4K has I/O last parm (forbidden). Switch to iPLUGR4K for a natural result set (below).

FYI -- Although on a personal note, languages and toolkits are for normal people (you shell hacker).

#!shell

bash-4.3$ alias db2='function _db2(){ echo "Running $1"; system -i "call QSYS/QZDFMDB2 parm('\''$1'\'')"; };_db2'
bash-4.3$ db2 "CALL XMLSERVICE.iPLUGR4K(''*na'', ''*here'', ''<?xml version="1.0"?><script><sh>ls</sh></script>'')"
Running CALL XMLSERVICE.iPLUGR4K(''*na'', ''*here'', ''<?xml version=1.0?><script><sh>ls</sh></script>'')

 **** CLI ERROR *****
         SQLSTATE: 0100C
NATIVE ERROR CODE: 466
1 result sets are available from procedure IPLUGR4K in XMLSERVICE. 

OUT151                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
<?xml version=1.0?><script><sh>
README.md
READNOTES.txt
contributors.txt
iayecmd.rpgle
iayedata.rpgle
iayeds.rpgle
iayejunk.rpgle
iayelic.rpgle
iayelic_h.rpgle
iayeos.rpgle
iayeos_h.rpgle
iayeparm.rpgle
iayeperf.rpgle
iayeperf_h.rpgle
iayepgm.rpgle
iayerun.rpgle
iayerun_h.rpgle
iayesh.rpgle
iayesql.rpgle
iayesrv.rpgle
iayesrv_h.rpgle
iayexml.rpgle
iayexml_h.rpgle
make.sh
testbig.rpgle
testloop.rpgle
testpgm.rpgle
testpgm2.rpgle
</sh>
</script>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         

  1 RECORD(S) SELECTED.

bash-4.3$ 

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.