RXS_outFromFile()

This sends the entire contents of a file in the IFS to standard out. This is useful when using the Template Engine to compose files in the IFS.

Once the XML file is created, use RXS_outFromFile() to write the entire contents to standard out. Use this when writing RPG Web Services residing on your IBM i that other programs call and NOT when consuming web services on a remote system.

Note: QTMHHTP1 will require at least *RW permissions on the file you are attempting to read and output.

Subprocedure Prototype

D RXS_outFromFile...
D                 pr

Writes contents of IFS file to standard out.

D  pFile                              value like(RXS_FilePath)

The qualified file name in the IFS.

Example: /myFolder/myFile.xml