REXX IBB calls
The REXX procedure that FM/IMS invokes uses standard TSO/E REXX.
However, you can call IBB functions to be able to retrieve and print the IMS segments. You can also create FM/IMS view for use in the IBB REXX procedure.
When running this REXX procedure and calling IBB functions, you process the database either using a File Manager/IMS view or by issuing IMS calls. FM/IMS does not allow you to swap between using a view and not using a view.
By referencing or creating a view using the IBB VIEWIMS function and issuing a GETIMS with the USING_VIEW parameter, FM/IMS uses the selection criteria specified in the view to retrieve the relevant segment.
When not using a view, you have to navigate the database by issuing a 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.