First time here?
Back again?


 
 

Can I change the order of output for registers in the ISO file?

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

There are two ways to control the output order of register and function codes.
To initialize the order, and/or to maintain the same order all the time, go to the Sort Output dialog box, in the General menu, and set the order desired.
A second way, which allows changes one or many times during postprocessing of a file, is to use the macro language SORT command.
Using a SORT statement in any macro resets the order, until either the file is completed or another SORT statement is programmed.
For example, to reverse the order of XYZ to ZYX for one block, add the SORT command to the GOTO macro:
SORT(N,G,Z,Y,X,F,M,T,S)
GOTO(MODE.MOTION.LINEAR, NEWLIN)
SORT(N,G,X,Y,Z,F,M,T,S)

Back to Frequently Asked Questions