A pc file doesn't have a concept of blank-delimited fn ft fm, so some adjustment *must* be made. It is my understanding that *nix doesn't make some information available for a prefix macro, but I don't know the details.

Les

Tony Thigpen wrote:
The problem is not the order they are processed, but instead is a problem of how they are stored when using:

  'EXTRACT /PENDING OLDNAME' macroname

<where macroname is derived from:>

parse source os . macroname macroft macrofm name .
parse arg pref func pline op extra '(' options
if os = 'UNIX'
  then do
    parse arg pref name func pline op extra '(' options
    nn = lastpos('/',macroname) + 1
    interpret "parse var macroname execpath " nn "macroname '.' ."
  end

(As a side note, it would have been nice if the 'arg' statement had matched VM's so I would not have had to play games with it.)


I looked at the code and did not see an easy fix for the problem. The way the prefix commands are stored is the root problem.

Tony Thigpen

-----Original Message -----
 From: Les Koehler
 Sent: 05/18/2011 05:59 AM
The big difference in prefix macro processing is that THE runs them in
the order they were entered, not top to bottom as Xedit does.

I haven't done much with them, but another member of RexxLA has overcome
the difference. I could send you one of his macros to use as a model, if
you'd like.

Les

Tony Thigpen wrote:
Several years ago, I moved all my assembler code for my products from
VM to my Linux desktop. I now use THE, Dignus ASM, and 'make'
processes to compile my products which are linked and tested on z/VSE.

I have converted several of my prefix macros to be dual-mode. The same
source works in both VM and THE. There is one major prefix macro that
will not convert due to the way THE works because the macro has
several prefix's for the same macros and the EXTRACT/PENDING in THE
does not handle that condition correctly.

Tony Thigpen

-----Original Message -----
From: Les Koehler
Sent: 05/17/2011 11:50 PM
If you use THE for your own stuff, I'd like a direct email if you'd like
to exchange information.

Anyone using it to offload VM work to the pc, or considering doing so, I have a wealth of macros to make it as much like Xedit as I can, while at
the same time taking advantage of the capabilities of a pc and no 3270
restrictions.

Tell us about your VM work on this thread, why you chose THE, or pose
questions that I, or others, might be able to help answer.

If you're familiar with Kedit, THE can mimic it quite well, *and* it
uses either ooRexx or Regina as its macro language.

I wasn't sure about posting this, but Dan assures me that as long as
it's VM related, it's welcome!

Les






Reply via email to