Rexx - Instructions



Rexx provides a number of instructions that gives a wide variety of functionality, most of them which allow you to interact with the Operating System. Let’s look at some of them in detail.

Sr.No. Rexx Instructions
1 address

This function is used to display the current command environment.

2 drop

This function is used to un-assign a variable.

3 interpret

Interprets or executes the defined instruction.

4 nop

This function means to perform no operation. This command is normally used in if statements.

5 Pull

This is used to pull input from the stack or from the default stream.

6 push

This is used to push a value onto the Rexx stack.

Advertisements