RXS_outFromFile
From Wiki
|
| User Guide |
Contents |
Description
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.
Prototype
D RXS_outFromFile... D pr D pFile value like(RXS_FilePath)
Parameters
- pFile
- The qualified file name in the IFS (e.g. /myfolder/myfile.xml)
Return value
None.
Notes / Examples
QTMHHTP1 will require at least *RW permissions on the file you are attempting to read and output.
