Category Archives for "AS400"

BLM – Black Lines Matter

I’m getting old — 50 earlier this year — and my eyesight is failing. Seriously, I bought some of those old man reading glasses from Walmart. You know the ones, the “old people” ones! 🙂   Five bucks for a little old Victorian style pair of readers that perch on the end of your nose and […]

 
Continue reading

IBM i Server job QZRCSRVS is a mouthful of wiggly worms

QZRCSRVS is the Remote Command/Distributed Program Call host server. Quite a mouthful to say. Try and say QSRCSRVS with a mouthful of frozen peas – you will spill a lot. #trustme. QZRWRVRSRCSRRCSRS is a web-service that basically receives authenticated requests (from other systems out there in cloud land) to run commands or to call programs on […]

 
Continue reading

Email every spool file in an output queue – EMLOUTQ for IBM i

Email an OUTQ – should be simple? Here you are, you have this output queue filled with reports and you want to email them to your Boss/Colleague/whoever! You dont really want them in smelly old text format you want them to look nice in something like PDF format…. That should be easy right? IBM i […]

 
Continue reading

What is an RPG Open Access Handler?

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 […]

 
Continue reading

RPG Programmers #winning

When I was a lad – you read the newspaper for news, you talked to neighbors to network and find the local gossip, you watched TV or went to the Cinema for movies. Nowadays, it’s all done on computers and it’s us programmers that create, nurse and stroke this things called computer programs. How you […]

 
Continue reading

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

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.

 
Continue reading

Varying Length fields in DDS and IBM i 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, […]

 
Continue reading
1 2 3 17