Oops, and where is the damb console command code

In the MVS3.8J section; if you don’t play with that move along.

The Oops was the number macro library I posted on the website in the mvs38j section yesterday was buggy; the main issue was there was a character 2 where there should have been a character 0, in assembler when addressing memory that’s a big oops. It works now :-).

Now the main post, “where is the damn command code”.

I see another few months (or years) of frustration ahead poking through the mvs3.8j source code for me.

In z/OS I believe you can use the MPF list to define new console commands; shame MPF doesn’t exist for mvs3.8j.

All I want to do is add a new display command available at the console, ie : D xxx.

So all I have to do is find the OS source code routine that handles console commands and insert/zap the new command so it runs the command instead of saying invalid display command.

All I have to do… I could search all the source PDS files to see what members contain the string “D” but that will not get me anywhere; I assume they all will.

I guess todo next weekend will be to find what module issues the “command invalid” error message, and over the next few months try and identify every module that calls that one.

Just because it irritates me.
The command I wanted to emulate was simply “D SMF”. As a temporary workaround I am using “S DSMF” and have also discovered that CMD1 can return the same info with #CS. But why settle for workarounds.

I may never find the OS code I need to modify; but it will keep me amused (or frustrated) for a few months anyway; until I find it or give up.

About mark

At work, been working on Tandems for around 30yrs (programming + sysadmin), plus AIX and Solaris sysadmin also thrown in during the last 20yrs; also about 5yrs on MVS (mainly operations and automation but also smp/e work). At home I have been using linux for decades. Programming background is commercially in TAL/COBOL/SCOBOL/C(Tandem); 370 assembler(MVS); C, perl and shell scripting in *nix; and Microsoft Macro Assembler(windows).
This entry was posted in MVS3.8J. Bookmark the permalink.