Created
September 25, 2018 06:46
-
-
Save RainerRoss/0827fc5c2fd1142eda4a7816d202f7a1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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