First time here?
Back again?


 
 

How to change the X register values to /X when post output is incremental ?

CATEGORY: PROGRAMMING
TYPE: MACRO
IMS VERSION: ALL
PLATFORM: ALL

Each register defined in the register format dialog has a NAME string parameter associated with it. The default value of the NAME string, and the value in most cases, is the register name itself, i.e.
REGISTER.X.NAME = "X",
REGISTER.F.NAME = "F".

You can change any letter address anytime within the post using the command:
REGISTER.X.NAME = "/X"

In this case, you would probably change the X,Y and Z registers in the MODE/INCR macro, i.e.
REGISTER.X.NAME = "/X"
REGISTER.Y.NAME = "/Y"
REGISTER.Z.NAME = "/Z"
Remember that these conditions remain in effect, so you will have to change them back in the MODE/ABSOL macro, i.e.
REGISTER.X.NAME = "X"
REGISTER.Y.NAME = "Y"
REGISTER.Z.NAME = "Z"

Back to Frequently Asked Questions