Notes:

1.If startup NetCCSID is 932 or 942, detected network, Shift JIS’s CCSID is the same as startup NetCCSID. Otherwise, Shift JIS’s CCSID is 943.

Startup NetCCSID

Shift JIS (JCD detected CCSID)

----------------

------------------------------

932

932

942

942

943

943

5052

943

5054

943

5050

943

2.Netscape Navigator 3.x sends the alphanumeric characters by using JIS X 0201 Roman escape sequence (CCSID 5052) for ISO-2022-JP. Netscape Communicator 4.x sends the alphanumeric characters by using ASCII escape sequence (CCSID 5054) for ISO-2022-JP.

3.JCD function has the capability to detect EUC and SBCS Katakana, but it is difficult to detect them. IBM® recommends that you do not use SBCS Katakana and EUC in CGI.

4.CCSID 5026 assigns lowercase alphabet characters on special code point. This often causes a problem with lowercase alphabet characters. To avoid this problem, do one of the following:

vDo not use lowercase alphabet literals in CGI programs if the FsCCSID is 5026.

vUse CCSID 5035 for FsCCSID.

vUse the Charset/CCSID tag as illustrated in the following excerpt of a CGI program:

main(){

printf("Content-Type: text/html; Charset=ISO-2022-JP\n\n");

...

}

vDo the code conversions in the CGI program. The following sample C program converts the literals into CCSID 930 (the equivalent to CCSID 5026)

main(){

printf("Content-Type: text/html\n\n);

#pragama convert(930) printf("<html>");

printf("This is katakana code page\n"); #pragama convert(0)

...

}

5.When the web client sends a charset tag, the network CCSID becomes the ASCII CCSID associated with Multipurpose Internet Mail Extensions (MIME) charset header. The charset tag ignores the JCD detected CCSID. When the Charset/ccsid tag is in the Content-Type header generated by the CGI program, the JCD-detected CCSID is ignored by this charset/ccsid. Stdout will not perform a conversion if the charset is the same as the MIME’s charset. Stdout will not perform a conversion if the CCSID is ASCII. Stdout will perform code conversion if the CCSID is EBCDIC. Because the environment variables and stdin are already stored in FsCCSID, ensure that you are consistent between the FsCCSID and the Content-Type header’s CCSID.

CGI Output Conversion Modes

The CgiConv mode includes an output mode. This section explains CGI output conversion modes in more detail.

Chapter 1. Writing Common Gateway Interface Programs 9

Page 19
Image 19
IBM AS/400E manual CGI Output Conversion Modes

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.