Monthly Archives: September 2017

Sep 29

What is an RPG Open Access Handler?

IBM i , AS400 , iSeries , Programming

It’s not someone that makes door handles is it? In software development a handler is a routine/function/method specializing in working with a certain type of data or focused on doing a special task. For example: Event handler – Receives and digests events and signals from the surrounding system (e.g. OS or GUI) or RPG HANDLER – Send/Receives data from […]

More Waffle
Sep 25

How to debug an as400 CLP or RPG opm or ILE job in batch sub system

IBM i , AS400 , iSeries , Programming

another old snippet from an ancient document I found in a dim dark and hazy corner of an even older and crustier HDD… rather than let it disintegrate, here it is migrating to the web just in the (extreme) off chance that it may be useful to someone out there…. 😉

 

Debug a program in BATCH.

 

1.    Hold the JobQ (Eg: QBATCH)

2.    Submit the job.

3.    Hold the job – Take option 3 against the job in “Work with submitted jobs”.

4.    Release the JobQ

5.    Take option 5 against the job to be debugged and make a note of the “Job Name”, “User”, and “Job Number”.

6.    Execute the command STRSRVJOB – Start Service Job. Input the Job Name, User, Job Number.

7.    STRDBG – Start Debug.

More Waffle
Sep 25

Wireless network intermittent losing broadband connecting – MTU problem

Life

Feb 2014 Update — If you are here looking for details on how to fix VPN failure after doing a Windows8.1 or Windows10 upgrade then use Windows Troubleshooter to Change the mode to Windows compatibility 1. Right click VPNUI in the Cisco install folder. (for example “C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client\”) 2. Choose Troubleshoot compatibility. […]

More Waffle
Sep 18

Playing with REXX on IBM i

IBM i , Programming

Wondering what REXX is? First off, it has nothing to do with those big green lizards that ran around angrily eating other lizards (presumably because their pathetically small arms gave them some kind of appendage envy) REXX is a kinda cool interpretive language — a bit like Control language (CLP). The neat thing about it […]

More Waffle
Sep 18

IBM i Webservices – REST vs. SOAP

IBM i , Programming , Webservice , Website

SOAP is a protocol – REST is an architectural style (a design for network-based software architectures) REST concepts are referred to as resources. A representation of a resource must be stateless. It is represented via some media type. Some examples of media types include XML, JSON, and RDF. Resources are manipulated by components. Components request […]

More Waffle
Sep 13

Varying Length fields in DDS and IBM i SQL

IBM i , AS400 , iSeries , SQL

Back in the olden days – files were filled with numbers and long string of data. Words like SAUSAGES might have been stored as a 30 ALPHA field in the format “SAUSAGES______________________” which, even tho its padded with *blanks – is just wasting a lot of space. Nowadays, most systems use variable length fields, shorter, […]

More Waffle
>