REXX IEB calls

The REXX procedure that FM/IMS invokes uses standard TSO/E REXX.

However, you can call IEB functions to be able to retrieve, update, and print IMS segments. You can also create a File Manager/IMS view for use in the IEB procedure.

In the REXX procedure, you use GETIMS calls to retrieve segments from the IMS database. You have the option of using:

  • GETIMS calls with the USING _VIEW clause (Retrieval using a view).

    FM/IMS uses the selection criteria specified in the view to retrieve the relevant segment.

  • GETIMS calls without the USING_VIEW clause (Retrieval without a view).

    You have to navigate the database by issuing GETIMS call to retrieve the relevant segments. This method is similar to issuing IMS calls in a program; you need to determine how the segments are to be retrieved.

But FM/IMS does not allow you to use GETIMS calls with the USING_VIEW clause and GETIMS calls without the USING_VIEW clause in the same REXX procedure.