v*R authority to the group file for a writelock value of 0

v*RW authority to the group file for a writelock value of 1

Required parameter group

path INPUT:BINARY(4)

The path to the group file to be created in the Integrated File System. You can specify an absolute or relative path to the working directory.

path_len INPUT:BINARY(4)

The length of the path string.

writelock

If the value is 1, the group file is opened for write access with a lock and kept open. No other user is allowed to update the group file while the lock is in place. The group file is closed and the lock released by invoking the QZHbCloseGroupList API. If the value is 0, then the following are true:

vThe group file is opened for read access

vA lock is not placed on the group file

vThe group file does not remain open

Note: You must specify a writelock of 1 in order to later specify a write argument of 1 on the QzhbCloseGroupList API. If you do not hold the group file open for write, the QzhbCloseGroupList API will not write the contents of the file.

grplist OUTPUT:BINARY(4)

The handle of the group list. Subsequent API calls use this handle.

errcode I/O:CHAR(*)

The structure in which to return error information.

Error messages

CPF3CF1 E

Error code parameter not valid.

CPF3C1D E

Input variable length in parameter &1 not valid.

HTPA001 E

Input parameter &1 not valid.

HTPA201 E

Group file &1 not found or is unreadable.

HTPA202 E

Unable to update group file &1.

66Web Programming Guide V4R5

Page 76
Image 76
IBM AS/400E manual Writelock, HTPA201 E

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.