This password is associated with a user that is defined in a validation list (*VLDL) or the password for a user profile on the AS/400 system.

IBM HTTP Server for AS/400 does not allow access to the PASSWORD variable if authorization is configured which uses AS/400 user profiles and passwords for authentication.

To prevent an application from obtaining an AS/400 user profile password, HTTPD_extract() is sensitive to the type of protect setups that are currently configured. If a protection setup is configured with a password file of %%SYSTEM%% (protection requiring AS/400 user profile password), HTTP_extract() for PASSWORD returns HTTP_PARAMETER_ERROR and sets the value parameter to *CONFLICT. Otherwise, HTTP_extract() returns the appropriate value.

HTTPD_reverse_translate()

Translates a file system path to a URL. Valid in all steps.

The name of the file system object and the buffer containing the URL are in the default CCSID of the job.

void

HTTPD_reverse_translate( unsigned char *handle, unsigned char *name, unsigned long *name_length, unsigned char *value, unsigned long *value_length,

long *return_code);

/* i; handle (NULL right now) */

/* i; name of the file system object */ /* i; length of the name */

/* o; buffer which contains the URL */ /* i/o; size of buffer/length of URL */ /* o; return code */

HTTPD_translate()

Translates a URL to a file system path. Valid in all steps.

The CCSID for QUERY_STRING depends upon the step and the CGI mode. For all steps except Service, these parameters are in the default CCSID of the job. For the Service step, the CGI mode determines the CCSID. For the %%MIXED%% CGI mode, these fields are in EBCIDIC CCSID 37. For all other CGI modes, these fields are in the default CCSID of the job.

void

 

 

 

HTTPD_translate(

 

 

unsigned char

*handle,

/* i; handle (NULL right now) */

unsigned char

*name,

/*

i; name of the URL */

unsigned long

*name_length,

/*

i; length of the name */

unsigned char

*url_value,

/*

o; buffer containing translated URL */

unsigned long

*url_value_length,

/* i/o; buffer size/length of translated URL */

unsigned char

*path_trans,

/* o; buffer containing PATH_TRANSLATED */

unsigned long

*path_trans_length,/*

i/o; size of buffer/length of PATH_TRANSLATED */

unsigned char

*query_string,

/* o; buffer containing QUERY_STRING */

unsigned long

*query_string_length,/* i/o; size of buffer/length of QUERY_STRING */

long

*return_code);

/*

o; return code */

HTTPD_set()

Sets the value of a variable associated with this request. The valid variables you can use for the name parameter are the same as those are used by the CGI program.

Note that you can also create variables with this function. If any variables you create are prefixed by HTTP_, they are sent as headers in the response, without the HTTP_prefix. For example, if you want to see a Location header, use HTTPD_set() with the variable name

HTTP_LOCATION.

116Web Programming Guide V4R5

Page 126
Image 126
IBM AS/400E manual HTTPDreversetranslate, HTTPDtranslate, HTTPDset

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.