Skip to content

Instantly share code, notes, and snippets.

@RainerRoss
Created September 25, 2018 06:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save RainerRoss/0827fc5c2fd1142eda4a7816d202f7a1 to your computer and use it in GitHub Desktop.
Save RainerRoss/0827fc5c2fd1142eda4a7816d202f7a1 to your computer and use it in GitHub Desktop.
ctl-opt dftactgrp(*no) actgrp('ADDME') pgminfo(*pcml:*module);
//------------------------------------------------------------------//
// SOAP-Webservice //
//------------------------------------------------------------------//
//------------------------------------------------------------------//
// Parameter //
//------------------------------------------------------------------//
dcl-pr addme;
num1 int(10) const;
num2 int(10) const;
result int(10);
end-pr;
dcl-pi *n;
num1 int(10) const;
num2 int(10) const;
result int(10);
end-pi;
//------------------------------------------------------------------//
// Main //
//------------------------------------------------------------------//
result = num1 + num2;
return;
//------------------------------------------------------------------//
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment