Giter Site home page Giter Site logo

pantalonorange / sendobjects-ibmi Goto Github PK

View Code? Open in Web Editor NEW
9.0 6.0 6.0 677 KB

Sending objects between IBMi's with client-server application (with tls-encryption)

License: MIT License

Batchfile 5.37% RPGLE 94.63%
ibmi ibmioss rpgle clle socket-programming ile tls-support ssl-support gsk rpg-free

sendobjects-ibmi's Introduction

SendObjects-IBMi

Sending objects as savefile between different IBMi with server-client application over TCP/IP and tls-encrypted.
Authentification over system userprofile and password (transfered as TDES encrypted string) or as anonymous authentication.

All headers are included (QRPGLECPY)

Command ZCLIENT

ZCLIENT

Command ZSERVER

ZSERVER

Create objects:

To create the objects copy the sources to your sourcefiles (qrpglesrc, qcmdsrc, etc) and compile them via seu-option "14"

Start the server on your IBMi like this:

  1. Create your own jobdescription to start the server as a autostartjob:
    CRTJOBD JOBD(YOURLIB/ZSERVER) TEXT('Start ZSERVER') USER(USER) RQSDTA('YOURLIB/ZSERVER AUTH(*USRPRF) TLS(*YES) APPID(*DFT)') INLLIBL(YOURLIB QTEMP)
  2. Add this jobdescription as a autostartjob to your subsystem:
    ADDAJE SBSD(SUBSYSTEM) JOB(ZSERVER) JOBD(YOURLIB/ZSERVER)

Tip to use from pdm:

Create with F16 a user defined pdm-option.
I have created 2, ZC (objects) and ZS (members)

  1. ZC: YOURLIB/ZCLIENT OBJ(&L/&N) OBJTYPE(&T) RMTSYS(SYSTEMNAME) AUTH(*USRPRF)
  2. ZS: YOURLIB/ZCLIENT OBJ(&L/&F) OBJTYPE(*MBR) MBR(&N) RMTSYS(SYSTEMNAME) AUTH(*USRPRF)

Update 19.11.2019

Add membersupport to zclient and zserver ZCLIENT

Update 29.05.2019

ZSERVER

Add API QMHRTVM and SQL GET DIAGNOSTIC to return specific errorsmessages to client

Update 17.01.2019

ZCLIENT

Add streamfilesupport (beta)

Update 08.01.2019

ZCLIENT

Add parms to define your own places for workfiles.

ZSERVER

Add parm to define your own AppID (certificate) installed on your IBMi (DCM).

Update 27.12.2018

Bugfixes, hide regular parameters in commands and change/add authentication-modes (with userprofile or *NONE)

Update 26.9.2018

Now supports TLS/SSL to send and receive data using IBM's GSK.

sendobjects-ibmi's People

Contributors

prsbrc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.