Note: The operating system configuration determines the full and abbreviated month names and years.

Use the echo directive to display the value for specified environment variables using the var tag. If a variable is not found, a (None) is displayed. In addition to the standard Common Gateway Interface (CGI) variables, you can also display the following environment variables:

DATE_GMT

The current date and time in Greenwich Mean Time. The config timefmt directive defines the formatting of this variable.

DATE_LOCAL

The current date and local time. The formatting of this variable is defined using the config timefmt directive.

DOCUMENT_NAME

This is the name of the topmost document. If the HTML was generated by CGI, this contains the name of the CGI.

DOCUMENT_URI

The full URL the client entered, without the query string.

LAST_MODIFIED

The current data and time that the current document was last changed. The config timefmt directive defines the formatting of this variable.

QUERY_STRING_UNESCAPED

The search query sent by the client. This is undefined unless the HTML was generated by a CGI program.

SSI_DIR

The path of the current file relative to SSI_ROOT. If the current file is in SSI_ROOT, this value is /.

SSI_FILE

The file name of the current file.

SSI_INCLUDE

The value used in the include command that retrieved this file. This is not defined for the topmost file.

SSI_PARENT

The path and file name of the includer, relative to SSI_ROOT.

SSI_ROOT

The path of the topmost file. All include requests must be in this directory or a child of this directory.

Example:

<!--#echo var=SSI_DIR -->

Note: You can use echo to display a value set by the set or global directives.

You can use the exec directive to include the output of a CGI program. The Exec directive discards any HTTP headers CGI outputs except for:

content-type

determines whether to parse the body of the output for other Includes.

content-encoding

determines if EBCDIC to ASCII translation must be performed.

Chapter 9. Using Server-Side Includes 135

Page 145
Image 145
IBM AS/400E manual Dategmt, Datelocal, Content-type, Content-encoding

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.