The following is an example of the HTML coding you need to insert in the child document:

Example:

<!--#flastmod virtual=&PARENT_URI; -->

Use the include directive to include a document (the text from a document) in the output. You can use the file and virtual tags with the include directive.

file - specify file name: Use this tag to specify the name of a file.

For the flastmod, fsize, and include directives, the file tag is assumed to be relative to SSI_ROOT if preceded by a ’/’. Otherwise, it is relative to SSI_DIR. The file specified must exist in SSI_ROOT or in one of its descendents.

Example:

<!--#include file="/path/file" -->

virtual - specify a document URL: Use this tag to specify the URL of a virtual path to a document.

For the flastmod, fsize, and include directives, the virtual tag is always passed through the server’s mapping directives.

Example:

<!--#include virtual="/path/file" -->

Use the set directive to set a variable that only this file can be echo later.

Example:

<!--#set var="Variable 2" value="AnotherValue" -->

Variables: Server-side includes also allow you to echo a variable already set. While defining a directive, you can also echo a string in the middle of value. For example:

<!--#include file="&filename;" -->

Nothing is displayed if an unrecognized variable is found.

Server-side includes look for the variable, echoes where the variable is found, and proceeds with the function. You can have multiple variable references. When server-side includes encounter a variable reference inside a server-side include directive, it attempts to resolve it on the server side. The following example escapes the & so that server-side includes do not recognize it as a variable. In the second line of the example, the variable &index;is a server-side variable and is used to construct the variable name var1. The variable ê is a client side variable, so the & is escaped to create the value :frêdor fredwith a circumflex over the e.

<!--#set var="index" value="1" -->

<!--#set var+"var&index;" value+"fr\êd" --> <!--#echo var="var1" -->

The following characters can be escaped. Escape variables must be preceded with a backslash (\).

Chapter 9. Using Server-Side Includes 137

Page 147
Image 147
IBM AS/400E manual #flastmod virtual=&PARENTURI

AS/400E specifications

The IBM AS/400E, now more commonly known as IBM i, is a robust and versatile midrange server that has been designed to provide a comprehensive computing solution for businesses of all sizes. First introduced in the late 1980s, the AS/400 series has undergone multiple enhancements and rebranding, with the AS/400E being one of the notable iterations. This powerful platform is closely associated with IBM's commitment to reliability, scalability, and integrated business solutions.

One of the main features of the AS/400E is its highly integrated architecture that combines hardware and software into a cohesive system. This integration allows for seamless operations, reducing the complexity typically associated with managing disparate systems. The system is powered by IBM's proprietary OS/400 operating system, which has evolved into IBM i, featuring advanced capabilities like object-oriented programming, integrated database management, and security features that are essential for enterprise environments.

A key characteristic of the AS/400E is its robust database support, primarily through the use of DB2 for i. This integrated database management system enables efficient data handling and retrieval, facilitating real-time business analytics and reporting. Furthermore, the platform supports a variety of programming languages, including RPG, COBOL, and Java, making it flexible for developers who require diverse tools for application development.

The AS/400E is also known for its exceptional reliability and uptime, making it a preferred choice for critical business applications in industries such as finance, healthcare, and manufacturing. This reliability is backed by advanced error detection and correction mechanisms, as well as redundancy features that help prevent data loss and minimize downtime.

In terms of scalability, the AS/400E can effortlessly expand to accommodate growing business demands. Organizations can increase processing power by adding more resources without significant disruption. This scalability, combined with the system’s built-in virtualization capabilities, allows businesses to optimize resource usage and streamline operations.

Security is another defining feature of the AS/400E. The platform incorporates various layers of security measures, including user authentication, encryption, and comprehensive auditing capabilities, ensuring that sensitive business data is protected against unauthorized access.

Overall, the IBM AS/400E remains a powerful tool in the enterprise computing landscape, providing businesses with an integrated, reliable, and secure solution for their technological needs. Its enduring popularity is a testament to its capability to evolve with changing business requirements while maintaining its core attributes of high performance and stability.