RPGspInclude Function
Inserts HTML code from an external HTML file. Does not return a value.
Syntax
RPGspInclude(IFS File Name)
Part | Description |
IFS File Name | Required. The name of a file on the iSeries IFS system, which contains the HTML code to be included. An absolute file path should be specified. |
Remarks
RPGspInclude is generally used when you have the same set of HTML code that needs to appear across multiple pages. This HTML code could be a menu that appears on every page, common JavaScript functions, cascading style sheets, page headers and footers, common list/combo boxes (e.g. state/province selection or country selection), or any other snippet of repetitive HTML code.
Example
The following line demonstrates how to use RPGspInclude:
C CallP RPGspInclude('/html/includes/menu.html') |
See
Also
Profound
Logic Software, Inc.
www.ProfoundLogic.com
(937) 439-7925