IceBreak https://system-method.us/ en Can IceBreak handle Microservices? https://system-method.us/node/1003 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Can IceBreak handle Microservices?</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hi,</p> <p>Can IceBreak handle Microservices?</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" typeof="schema:Person" property="schema:name" datatype="">Anonymous (not verified)</span></span> <span property="schema:dateCreated" content="2018-03-14T15:46:25+00:00" class="field field--name-created field--type-created field--label-hidden">Wed, 03/14/2018 - 16:46</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="6" id="comment-1167" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1522953756"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/6" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></p> <p class="comment__time">Wed, 03/14/2018 - 17:37</p> <p class="comment__permalink"><a href="/comment/1167#comment-1167" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1167#comment-1167" class="permalink" rel="bookmark" hreflang="en">Re: Can IceBreak handle Microservices?</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi;</p> <p>IceBreak has changed dramatically over the years and added compiler feature in vsCode and support for routing so we can build microservices:</p> <ol> <li>Attached are a zipfile containing a microsevice demo. unzip that to /www/MicroServices on your IBMi <strong>before</strong> you create the IceBreak server. <br />  </li> <li> <p>Then create a server like this and start it:</p> <p>IceBreak Server ID . . . . . . . &gt; MICROSERV     Name                     Description  . . . . . . . . . .   'Microservices demo'                   Server type  . . . . . . . . . .   *WEB          *SAME, *WEB, *NINJA...   Tcp/Ip Interface address . . . .   *ANY                                   Tcp/Ip Port  . . . . . . . . . .   60060         1-65535, *SAME           Startup type . . . . . . . . . .   *AUTO         *SAME, *MANUAL, *AUTO   Server Root Path . . . . . . . .   '/www/MicroServices'                   Default doc or Startup script  .   'default.html'                         Webconfig/shell file path  . . .   '/www/MicroServices/webconfig.xml'      </p> <p> Notice when you refer to a microservice, you always go through a "router" application. It is called "router.rpgle" and can be extended with logon stuff, security etc. and you have to make a "route" in the webconfig.xml pointing to that particular "router" application.</p> <p>Microservices are not compiled by the JIT, since the router don't invoke the JIT compiler, so you have to compile it the vsCode or from 5250 commandline like:</p> <p> CRTICEPGM STMF('/www/MicroServices/msSimple.rpgle') SVRID(microserv)</p> </li> <li>I prefer <strong>vsCode</strong>, which are using <strong>node.js</strong> to compile IceBreak programs: download and install i from here <br />   <p><a href="https://nodejs.org/en/">https://nodejs.org/en/</a><br /> <a href="https://code.visualstudio.com/">https://code.visualstudio.com/</a></p> </li> <li>Start vsCode and search for RPG in the "extensions". The "box on the left lower side: And install it ( Yes it is made by me and others for IceBreak;)  <p> <img alt="Screenshot" data-entity-type="file" data-entity-uuid="9ef49f3a-878a-4331-ba60-1be707b14965" src="/sites/default/files/inline-images/RPG.png" /></p></li> <li>Then map a drive M: to the /www/MicroServices folderand open  - since that is a vsCode project. DON'T OPEN THE PROGRAM DIRECTLY - COMPILER WILL ONLY WORK ON PROJECTS !!!!  <p> It must look like this - with the project outline in the left pane. open the msSimple.rpgle so the editor window shows (ensure you can see the .vsCode - that means that the compiler is active)</p> <p> <img alt="Screenshot" data-entity-type="file" data-entity-uuid="b164cde5-caac-4eb1-869d-80dda8d343f2" src="/sites/default/files/inline-images/mssimple.png" /></p></li> <li>Press <strong>shift + cmd + B</strong> (for run build task found in the "task" menu) ... and click on the "problems" tab if you have errors.. The click on the error line and the cursor will jump to the particular place in the code where the error is. COOL!!<br />  </li> <li>Run the sample: <p>now - the syntax: <a href="http://myibmi:1234/router/serviceprogramname/procedureName">http://myIbmi:1234/router/serviceprogramname/procedureName</a></p> <p>i.e to test the "msSimple.rpgle" service with the "Hello" attached. Then in my case I have an IBMi called dksrv206 and created a server called "MICROSERV" at port 60060</p> <pre> dksrv206:60060/router/msSimple/Hello?payload={ "message" : "My name is John" } </pre><p>And the result - even more cool: always remember JSON in and JSON out for microservices. It makes you life so much easier.<br /> <img alt="Screenshot" data-entity-type="file" data-entity-uuid="1b527b1d-243d-4635-a33f-462015374b7f" src="/sites/default/files/inline-images/JSON.png" /></p> </li> </ol> <p>Please give me feedback if you have issues.</p> <p>Best regards,</p> <p>Niels Liisberg</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1167&amp;1=default&amp;2=en&amp;3=" token="Bm5X266mSOFfnfHK-VJ-YMMvtvPJwr7g1yldvnKcKJs"></drupal-render-placeholder> </div> </article> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/1003/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/1003/comment%23comment-form">register</a> to post comments</li></ul> </div> Wed, 14 Mar 2018 15:46:25 +0000 Anonymous 1003 at https://system-method.us Root folder https://system-method.us/node/994 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Root folder</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hi Niels,</p> <p>All 40 of my students get their own web server, but the root folders are cluttered with files that are not required (index.html, .vscode, and webConfig.xml). When they try to drag and drop their index.html page to the root folder, it gives then a authorization error. They have to delete your index.html document first.</p> <p>Is there any way this can be cleaned up?</p> <p>Jim</p> <p> </p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" typeof="schema:Person" property="schema:name" datatype="">Anonymous (not verified)</span></span> <span property="schema:dateCreated" content="2017-09-22T16:34:18+00:00" class="field field--name-created field--type-created field--label-hidden">Fri, 09/22/2017 - 18:34</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="6" id="comment-1154" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1520266940"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/6" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></p> <p class="comment__time">Mon, 09/25/2017 - 12:36</p> <p class="comment__permalink"><a href="/comment/1154#comment-1154" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1154#comment-1154" class="permalink" rel="bookmark" hreflang="en">Re: Root folder</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi Jim,</p> <p>All of the above files / folders you are mentioning are part of an on going strategy, and are requirements from customers.</p> <p>I can understand that you would like it more simple/ clean - but all of the above has a purpose:</p> <p><strong>index.html</strong> - is a confirmation of the server was created normally, otherwise you will see a 404 error if you go the the web page. It is a simple "welcome to..." page and you are doing right by just replace it.</p> <p><strong>.vsCode </strong><br /> It the folder that Visual Studio Code is using to communicate with IceBreak - It need to be in the server root folder - it can not be placed anywhere else.</p> <p><strong>webConfig.xml</strong>  <br /> It contains the extra settings -  default settings requires to let IceBreak work in a modern environment: I.e. in the webConfig.xml you will see that UTF-8 only is enabled, chunked support is enabled, and this is also where you set your hives.</p> <p>A hive is a virtual folder and an associated applications library - so maybe you should create a "hive" for each student instead a of a dedicated server instance for each - just thinking loud. </p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1154&amp;1=default&amp;2=en&amp;3=" token="S7dBlM0o1ubC7MIdsWDhWGwWqgf5x99UU4MFw9Nls2A"></drupal-render-placeholder> </div> </article> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/994/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/994/comment%23comment-form">register</a> to post comments</li></ul> </div> Fri, 22 Sep 2017 16:34:18 +0000 Anonymous 994 at https://system-method.us Why is IceCap displaying error message? https://system-method.us/node/1005 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Why is IceCap displaying error message?</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hi,</p> <p>This week the ICECAP system has stopped working twice displaying the ‘Error occurred executing function.</p> <p>The first time was on Monday morning when myself and three other users got this error message. Then within minutes it started to work again for us all.</p> <p>Then last night at 22:00 it was reported to me it was not working, it has been OK today.</p> <p>Is there anywhere on the system I can look to find any clue why this is happening?</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" typeof="schema:Person" property="schema:name" datatype="">Anonymous (not verified)</span></span> <span property="schema:dateCreated" content="2017-05-11T15:49:16+00:00" class="field field--name-created field--type-created field--label-hidden">Thu, 05/11/2017 - 17:49</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="6" id="comment-1169" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1523008953"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/6" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></p> <p class="comment__time">Mon, 05/15/2017 - 11:59</p> <p class="comment__permalink"><a href="/comment/1169#comment-1169" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1169#comment-1169" class="permalink" rel="bookmark" hreflang="en">Re: Why is IceCap displaying error message?</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi;</p> <p>There is no errors in IceCap - or the way you are integrating with IceCap.</p> <p>The reason is that "ruCntStkChk.aspx" is creating a new session each time it is called which now is the reason you have 254890 sessions in your system.</p> <p>It is easy to fix. Use session stability by URL - and simply give it a session number into the url..</p> <p>so instead of<br />        <a href="http://myibmi/uCntStkChk.aspx">http://myibmi/uCntStkChk.aspx</a></p> <p>insert a session number in the url prefixed by a dot. <br />        <a href="http://myibmi/uCntStkChk.aspx">http://myibmi/<strong>.0</strong>/uCntStkChk.aspx</a></p> <p>Here I use session zero - and notice the dot. Now Any request with /.0/ will share the same job and session.</p> <p>Ultimately it will also give better performance since the job stays resident.</p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1169&amp;1=default&amp;2=en&amp;3=" token="BovbwziTRj6smNj5z8oafssL08iniyFOH2vMJBqql0s"></drupal-render-placeholder> </div> </article> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/1005/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/1005/comment%23comment-form">register</a> to post comments</li></ul> </div> Thu, 11 May 2017 15:49:16 +0000 Anonymous 1005 at https://system-method.us IceCap application is not working https://system-method.us/node/981 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">IceCap application is not working </span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hi,</p> <p>Our IceCap application is not working, attached is a screen shot of the message. I have tried restarting the IceCap server but the error is still occurring.</p> <p>I have also tried to debug the aspx program for the Icecap menu but the error seems to be occurring before the menu is called.</p> <p>I have attached a screenshot of the error and joblog...</p> <p>Is there anywhere on the system I can look to find any clue why this is happening?</p> <p>Thanks</p> <p>Jonathan</p> <p><img alt="Error screenshot" data-entity-type="file" data-entity-uuid="d005800a-4b61-4120-ae1a-f61a32145a7c" height="224" src="/sites/default/files/inline-images/Sk%C3%A6rmbillede%202018-03-05%20kl.%2014.03.05.png" width="482" /></p> <p><img alt="Joblog screenshot" data-entity-type="file" data-entity-uuid="6707ce6a-1790-4d1a-b336-e6db1152b828" src="/sites/default/files/inline-images/Sk%C3%A6rmbillede%202018-03-05%20kl.%2014.02.23.png" /></p> </div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" typeof="schema:Person" property="schema:name" datatype="">Anonymous (not verified)</span></span> <span property="schema:dateCreated" content="2017-05-11T15:49:16+00:00" class="field field--name-created field--type-created field--label-hidden">Thu, 05/11/2017 - 17:49</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="6" id="comment-1145" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1520256037"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/6" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></p> <p class="comment__time">Mon, 05/15/2017 - 11:59</p> <p class="comment__permalink"><a href="/comment/1145#comment-1145" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1145#comment-1145" class="permalink" rel="bookmark" hreflang="en">Re: IceCap application is not working</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi Jonathan,</p> <p>There is no errors in IceCap - or the way you are integrating with IceCap.</p> <p>The reason is that "ruCntStkChk.aspx" is creating a new session each time it is called which now is the reason you have 254890 sessions in you system. It is easy to fix. Use session stability by URL - and simply give it a session number into the url..</p> <p>so instead of<br />      <a href="http://myibmi/uCntStkChk.aspx">http://myibmi/uCntStkChk.aspx</a></p> <p>insert a session number in the url prefixed by a dot. <br />      <a href="http://myibmi/uCntStkChk.aspx">http://myibmi/<strong>.0</strong>/uCntStkChk.aspx</a></p> <p>Here I use session zero - and notice the dot.</p> <p>Now Any request with /.0/ will share the same job and session. Ultimatley it will also give better performance since the job stays resident.</p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1145&amp;1=default&amp;2=en&amp;3=" token="z54czipyfH7LffAOY-NF_c2Ns8bk526jp12Ypm-jXkA"></drupal-render-placeholder> </div> </article> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/981/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/981/comment%23comment-form">register</a> to post comments</li></ul> </div> Thu, 11 May 2017 15:49:16 +0000 Anonymous 981 at https://system-method.us Multiline constants in IceBreak https://system-method.us/node/991 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Multiline constants in IceBreak</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Have you ever made a SQL string in RPGLE that spans over many lines - and did you miss a quote or two?</p> <p>Now it is more easy to produce long string assignments over multiple lines.</p> <p>A multiline constant in IceBreak start with <strong>("</strong> and is terminated by a <strong>"). </strong>Multiline constants also allows you to concatenate variables and expression into the string simply by using a marker designated by a $. If you are using more complex expression then you can surround the marker by curly bracket.</p> <p>This feature makes is more easy to cut/paste between external editor, validator and environments like SQL prompt / jsonlint etc.</p> <p><img alt="Screenshot" data-entity-type="file" data-entity-uuid="8fa80885-73b9-4845-a723-2d136d52bfde" src="/sites/default/files/inline-images/Screenshot_0.png" /></p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></span> <span property="schema:dateCreated" content="2016-12-12T15:23:25+00:00" class="field field--name-created field--type-created field--label-hidden">Mon, 12/12/2016 - 16:23</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/991/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/991/comment%23comment-form">register</a> to post comments</li></ul> </div> Mon, 12 Dec 2016 15:23:25 +0000 Niels Liisberg 991 at https://system-method.us responseRelease(), new feature https://system-method.us/node/993 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">responseRelease(), new feature</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Icebreak new feature;</p> <p>The new <strong>responseRelease()</strong> allows you ti send the response object back to the client as soon it is ready. After a call to responseRelease() you will not have a connection to the client until it make the next request.</p> <p><img alt="responseRelease()" data-entity-type="file" data-entity-uuid="6dae90d2-cc01-4a81-9909-4be62f13c44d" src="/sites/default/files/inline-images/responseRelease%28%29.png" /></p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></span> <span property="schema:dateCreated" content="2016-10-11T16:43:52+00:00" class="field field--name-created field--type-created field--label-hidden">Tue, 10/11/2016 - 18:43</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/993/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/993/comment%23comment-form">register</a> to post comments</li></ul> </div> Tue, 11 Oct 2016 16:43:52 +0000 Niels Liisberg 993 at https://system-method.us Session json objects https://system-method.us/node/996 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Session json objects</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><strong>Session persistent objects is now supported in icebreak. </strong></p> <p>Session persistent json object, is objects maintained through out a session lifetime.</p> <p>If the persistent object does not exists, then sesGetObject returns a default empty object ready for you to populate. In any case you will receive a pointer to an object which is maintained through out the session lifetime.</p> <p>You don't need the usual cleanup by json_delete / json_close since the object will be disposed when the job terminates. You can however use the json_delte if the persistent object is not required any longer.</p> <p>You can always use the sesGetObject to reload the initial state at transaction invocation time by calling the sesGetObject again, however in that particular case remember to clean up prior to that with json_Close().</p> <p><strong>Note 1:</strong><br /> The name is required to conform to IFS object name standart ( like programs or libraries.</p> <p><strong>Note 2:</strong><br /> json_setPtr is not allowed unless it points to a valid json stringified payload or contains json valid literals.</p> <p><strong>Note 3:</strong><br /> Keep the number of session persistent objects to a minimum, otherwise you will have a performance penalty. </p> <p><img alt="Session json objects" data-entity-type="file" data-entity-uuid="19bd8481-53ca-43a6-95a6-ed11d3af4554" src="/sites/default/files/inline-images/Session%20json%20objects.png" /></p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></span> <span property="schema:dateCreated" content="2016-10-04T07:47:06+00:00" class="field field--name-created field--type-created field--label-hidden">Tue, 10/04/2016 - 09:47</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/996/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/996/comment%23comment-form">register</a> to post comments</li></ul> </div> Tue, 04 Oct 2016 07:47:06 +0000 Niels Liisberg 996 at https://system-method.us json_copyValue(), new feature https://system-method.us/node/988 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">json_copyValue(), new feature</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Just a nice little feature added to noxDB.</p> <p>The json_copyValue let you copy between a source node and a destination node including a path modifier.</p> <p>The following sample explains it all: </p> <p><img alt="Screenshot 2016-09-14" data-entity-type="file" data-entity-uuid="6eb12428-90b0-467e-90cb-c4af85fd4e07" src="/sites/default/files/inline-images/Screenshot%202016-09-14.png" /></p> <p>noxDB is short for "Not Only XML" which is a library for RPG programmers to exploit XML, JSON and SQL in one developer model.<br /> <br /> If you don't have this open source library, then grab it from<br /> https://github.com/NielsLiisberg/noxDB</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></span> <span property="schema:dateCreated" content="2016-09-13T22:00:00+00:00" class="field field--name-created field--type-created field--label-hidden">Wed, 09/14/2016 - 00:00</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/988/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/988/comment%23comment-form">register</a> to post comments</li></ul> </div> Tue, 13 Sep 2016 22:00:00 +0000 Niels Liisberg 988 at https://system-method.us Implementing a more Traditional Style of Working in IceBreak https://system-method.us/node/980 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Implementing a more Traditional Style of Working in IceBreak</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hi,</p> <p>This question is quite a difficult one to explain...</p> <p>Is it possible in IceBreak to have a method of working where you could open the source of a program, modify it with changes, compile it into a mod library so that people could have a mod library ahead of their live library on the library list and run the modified program from the mod library, whilst still having the initial live program unchanged further down the priority list?<br /> I'm not sure if I explained that very well, but I mean kind of like the traditional way of working on Green and black.</p> <p>Regards,</p> <p>Jimmy</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" typeof="schema:Person" property="schema:name" datatype="">Anonymous (not verified)</span></span> <span property="schema:dateCreated" content="2016-09-09T09:01:04+00:00" class="field field--name-created field--type-created field--label-hidden">Fri, 09/09/2016 - 11:01</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="6" id="comment-1142" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1520254001"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/6" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></p> <p class="comment__time">Tue, 09/13/2016 - 08:45</p> <p class="comment__permalink"><a href="/comment/1142#comment-1142" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1142#comment-1142" class="permalink" rel="bookmark" hreflang="en">Re: Implementing a more Traditional Style of Working in IceBreak</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi James;</p> <p>I got it 100%</p> <ol> <li>We here at S&amp;M are also moving towards GIT and versioning, and in this process  we need ( as you ) a program objet library which is NOT the production, but rather the "current development task library"</li> <li>We have just change the CRTICEPGM to have a OBJLIB parameter, and we are integrating this command into Sublime Text </li> <li>However - We still need a good way to select the library list for a git compile - Some suggestion we are working with:</li> </ol> <ul> <li>Set a user library - which can be a part of the user part of the URL</li> </ul> <p>   normal url  <br />        <a href="http://myibmi:2345/mypgm.aspx">http://myibmi:2345/mypgm.aspx</a></p> <p>   will be:<br />        <a href="http://develop@myibmi:2345/mypgm.aspx">http://develop@myibmi:2345/mypgm.aspx</a></p> <p>   This is kind of hijack and misuse of the - user however easy to implement and use.</p> <ul> <li>Set an extra system value along the request string</li> </ul> <p>      <a href="http://myibmi:2345/mypgm.aspx?__objlib__=MYPROJECT">http://myibmi:2345/mypgm.aspx?__objlib__=MYPROJECT</a></p> <ul> <li>Set an extra part of the session URL</li> </ul> <p>      <a href="http://myibmi:2345/.-objlib:MYPROJECT/mypgm.aspx">http://myibmi:2345/.-objlib:MYPROJECT/mypgm.aspx</a></p> <ul> <li>Please fill in the blanks</li> </ul> <p>    The above will only work for servers in development mode, since it is prone for injections.</p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1142&amp;1=default&amp;2=en&amp;3=" token="5gYbGHRgH9UwdpfVTw7owZBSSDJOvlUEzUKNvCon8mc"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="0" id="comment-1143" class="comment js-comment by-anonymous clearfix"> <span class="hidden" data-comment-timestamp="1520254368"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/0" class="profile"> </article> <p class="comment__author"><span lang="" typeof="schema:Person" property="schema:name" datatype="">Anonymous (not verified)</span></p> <p class="comment__time">Tue, 09/13/2016 - 12:42</p> <p class="comment__permalink"><a href="/comment/1143#comment-1143" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1143#comment-1143" class="permalink" rel="bookmark" hreflang="en">Test without interfering with servers</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi Niels,</p> <p>That could maybe help. When do you think this will be rolled out on an IceBreak install for testing, and is it possible to test without interfering with present servers functionality?</p> <p>James</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1143&amp;1=default&amp;2=en&amp;3=" token="4J68nm3-ahninhgyLEFlJkYR74RxEDdX2Y45cnm_1h4"></drupal-render-placeholder> </div> </article> <article role="article" data-comment-user-id="6" id="comment-1144" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1520254628"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/6" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></p> <p class="comment__time">Tue, 09/13/2016 - 13:07</p> <p class="comment__permalink"><a href="/comment/1144#comment-1144" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1144#comment-1144" class="permalink" rel="bookmark" hreflang="en">ICETEST</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi James,<br /> <br /> In the installation process, you can always select to install in another environment (The advance oprions on page five) -  Let say ICETEST...<br /> <br /> If so you will have bot the ICEBREAK and ICETEST subsystem running  side by side - and even better; you can clone production server settings into other environment from opt  69 : Migrate   <br /> <br /> Remember to change the portnumber of interface since you can not listen on the same port from more that one server.<br /> <br /> Always key you ICETEST current from:<br /> <br /> <a href="http://install.icebreak.org/">http://install.icebreak.org/</a><br /> <br /> Look for the latest <strong>IceBreakSetupXXXX.exe</strong></p> <p>Best regards,</p> <p>Niels Liisberg</p></div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1144&amp;1=default&amp;2=en&amp;3=" token="ccOQm_Oirxv0GZ5uM2_dJvlHlutSuXKI6Bvvb0e2QBQ"></drupal-render-placeholder> </div> </article> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/980/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/980/comment%23comment-form">register</a> to post comments</li></ul> </div> Fri, 09 Sep 2016 09:01:04 +0000 Anonymous 980 at https://system-method.us Opening word documents in IceBreak https://system-method.us/node/979 <span property="schema:name" class="field field--name-title field--type-string field--label-hidden">Opening word documents in IceBreak</span> <div class="field field--name-taxonomy-forums field--type-entity-reference field--label-above"> <div class="field__label">Forums</div> <div class="field__item"><a href="/taxonomy/term/1" hreflang="en">IceBreak</a></div> </div> <div property="schema:text" class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Hi,</p> <p>How do I place a word document in the IceBreak Response?</p> <p>Regards,</p> <p>James</p></div> <span rel="schema:author" class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" typeof="schema:Person" property="schema:name" datatype="">Anonymous (not verified)</span></span> <span property="schema:dateCreated" content="2016-09-01T17:14:15+00:00" class="field field--name-created field--type-created field--label-hidden">Thu, 09/01/2016 - 19:14</span> <section class="field field--name-comment field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment-forum field--type-comment field--label-hidden comment-wrapper"> <article role="article" data-comment-user-id="6" id="comment-1141" class="comment js-comment clearfix"> <span class="hidden" data-comment-timestamp="1520252771"></span> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/6" class="profile"> </article> <p class="comment__author"><span lang="" about="/user/6" typeof="schema:Person" property="schema:name" datatype="">Niels Liisberg</span></p> <p class="comment__time">Fri, 09/02/2016 - 10:45</p> <p class="comment__permalink"><a href="/comment/1141#comment-1141" hreflang="en">Permalink</a></p> </footer> <div class="comment__content"> <h3><a href="/comment/1141#comment-1141" class="permalink" rel="bookmark" hreflang="en">Re: Opening word documents in IceBreak</a></h3> <div class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>Hi James,</p> <p>VBscript is not the weapon of choice in modern web applications. Microsoft has (kind of) lost the browser battle. So for the same reason, do not use active-x components which is only supported in IE.</p> <p>A much better and more cross browser friendly solution is direct serving the word document, and set the propper content type and disposition.</p> <p>Basically your code looks like this:  </p> <pre> &lt;%@ language="RPGLE" %&gt; &lt;% /* ----------------------------------------------------------------------------- * Program . . : include a word documnet * ----------------------------------------------------------------------------- */ var msg varchar(512) /free *INLR = *ON; // let the browser-plugin have time to load the file setCacheTimeout(10); // Word need this MIME type setContentType( 'application/vnd.openxmlformats-' + 'officedocument.wordprocessingml.document' ); // What do we call it on the client, and should we download or show it in the broser window setHeader ( 'Content-Disposition' : 'inline; filename="MyClientDocument.docx"' ); // Now get the payload msg = include ('myWordDoc.docx'); // If error, sound the alarm if msg &gt; ''; setContentType('text/html'); %&gt;Error opening document, reason: &lt;%= msg %&gt;&lt;% endif;</pre><p>Note: The document is read only, if you need to modify /save you need another technique. Textarea or web-dav. which is another ballgame..</p> <p>Best regards,</p> <p>Niels Liisberg</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=1141&amp;1=default&amp;2=en&amp;3=" token="yd_MKTF8nvcV3y7W0a3HDbZzzTsvGSj--vhV1sklQcI"></drupal-render-placeholder> </div> </article> </section> <div class="node__links"> <ul class="links inline"><li class="comment-forbidden"><a href="/user/login?destination=/comment/reply/node/979/comment%23comment-form">Log in</a> or <a href="/user/register?destination=/comment/reply/node/979/comment%23comment-form">register</a> to post comments</li></ul> </div> Thu, 01 Sep 2016 17:14:15 +0000 Anonymous 979 at https://system-method.us