On Thursday, 02/25/2010 at 05:03 EST, Ivan Warren <[email protected]> 
wrote:
 
> Basically, I believe HCPCFC (which is OCO.. Yuck !) simply looks at the
> length of the command passed, verifies it doesn't exceed the length of
> the command and then does an EX/CLC for the abbreviation for the command
> to check for a match - which means no difference in processing time
> between an abbreviation and a fully spelled out command. That how it was
> done in my time in DMKCFC anyways.
>
> My point it that I strongly believe there is no difference in CP
> processing time for an abbreviated CP command.

Leaving specific instructions out of it, yes, that's how it works.

> Compare this to any readability issues - a second over a year of
> processing time compared to an hour by a human being trying to figure
> out why it's not the right command being issued !

And we DO change abbreviations sometimes.  When we introduced the FOR 
command, it was necessary to change the abbreviation of FORWARD from FO to 
FORW.

Always spell out your CMS and CP command names AND operands in order to 
avoid such gotchas.  Abbreviations are for humans, not programmers.

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to