%%MIXED%%

In this mode HTTP header output is in CCSID 37. However, the escape sequence must be the EBCDIC representative of the ASCII code point for the 2 characters following the %in the escape sequence. An example of a HTTP header that may contain escape sequences is the Location header.

%%EBCDIC%%

In this mode HTTP header output is in CCSID 37. However, the escape sequence must be the EBCDIC representative of the EBCDIC code point for the 2 characters following the %in the escape sequence. An example of a HTTP header that may contain escape sequences is the Location header.

%%BINARY%%

In this mode HTTP header output is in CCSID 819 with the escape sequences also being the ASCII representative of the ASCII code point. An example of a HTTP header that may contain escape sequences is the Location header.

For HTTP body standard-output (stdout) data that is sent from the CGI program, the server recognizes and uses the charset or CCSID parameter on the text/* Content-Types. If you specify ASCII, the server performs no conversions on the data. Otherwise, the system uses the Content-Type value instead of the DefaultFsCCSID on conversions back to the browser. The system sets an appropriate charset tag for all text/* Content-Types that it sends back to the browser. The exception to this is %%MIXED%%, %%MIXED/MIXED%%, %%BINARY/BINARY%% modes and when the charset or CCSID parameter is set to 65535.

Table 2 summarizes the type of conversion that is performed and the charset tag that is returned to the browser by the server.

Table 2. Conversion action and charset tag generation for text in CGI Stdout.

CGI Stdout CCSID/Charset in HTTP header

Conversion action

Server reply charset tag

 

 

 

EBCDIC CCSID/Charset

Calculate EBCDIC to ASCII

Calculated ASCII charset

 

conversion based on supplied

 

 

EBCDIC CCSID/Charset

 

 

 

 

ASCII CCSID/Charset

No conversion

Stdout CCSID/Charset as Charset

 

 

 

65535

No conversion

None

 

 

 

None (%%BINARY%%,

Default Conversion - FsCCSID to

NetCCSID as charset

%%BINARY/MIXED%%, or

NetCCSID

 

%%BINARY/EBCDIC%%)

 

 

 

 

 

None (%%BINARY/BINARY%%)

No Conversion

None

 

 

 

None (%%EBCDIC%%,

Default Conversion - FsCCSID to

NetCCSID as charset

%%EBCDIC/MIXED%%, or

NetCCSID

 

%%EBCDIC/EBCDIC%%)

 

 

 

 

 

None (%%EBCDIC%%,

Use inverse of conversion

Charset as received on HTTP

%%EBCDIC/MIXED%%, or

calculated for stdin

request

%%EBCDIC/EBCDIC%% with charset tag

 

 

received on HTTP request)

 

 

 

 

 

None (%%EBCDIC_JCD%%,

Default Conversion - FsCCSID to

NetCCSID as charset

%%EBCDIC_JCD/MIXED%%, or

NetCCSID

 

%%EBCDIC_JCD/EBCDIC%%)

 

 

 

 

 

10Web Programming Guide V4R5

Page 20
Image 20
IBM AS/400E manual Mixed%%, Ebcdic%%, Binary%%

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.