12.8 Compiler Options

This section discusses some of the compiler option considerations when converting from the various VSE COBOL compilers to COBOL for OS/390 and VM.

DOS/VS COBOL has many compiler options that are not available with COBOL for OS/390 and VM. Compiler options with VS COBOL II or COBOL for VSE/ESA are generally the same as COBOL for OS/390 and VM. If you are converting VS COBOL II programs, the most important difference to be aware of is the RES/NORES option.

12.8.1 RES/NORES

One compiler option is provided with VS COBOL II that is not available with either DOS/VS COBOL or COBOL for OS/390 and VM. This is RES/NORES.

Specifying RES in a VS COBOL II program causes the COBOL run-time subroutines to be loaded dynamically at run-time. NORES causes the run-time subroutines to be link-edited with the program.

DOS/VS COBOL behaves in a manner equivalent to specifying NORES with VS COBOL II. All run-time subroutines are link-edited with the program.

COBOL for OS/390 and VM behaves in a manner equivalent to specifying RES with VS COBOL II. The run-time is provided by Language Environment, and run-time subroutines are loaded dynamically at run-time.

In your conversion you should be aware of this different behavior.

12.8.1.1DOS/VS COBOL Compiler Options not Available with COBOL for OS/390 and VM

Figure 19 on page 261 lists DOS/VS COBOL compiler options that are not available with COBOL for OS/390 and VM, and gives the COBOL for OS/390 and VM option you should use instead, if there is one. If you have used any of these options in your DOS/VS COBOL program, you should remove or change them.

260VSE to OS/390 Migration Workbook

Page 284
Image 284
IBM OS/390 manual Compiler Options, 12.8.1 RES/NORES

OS/390 specifications

IBM OS/390, a versatile operating system, was a cornerstone in enterprise environments and played a pivotal role in mainframe computing. Released in the mid-1990s, OS/390 combined the strengths of IBM's MVS (Multiple Virtual Storage) with new features and enhancements, targeting scalability, reliability, and performance in demanding business applications.

One of the key features of OS/390 was its robust support for multiple users and processes. The system allowed thousands of concurrent users to access applications and data, ensuring high availability and minimizing downtime—a critical requirement for many large organizations. This scalability was supported through various enhancements in memory management and processor scheduling, enabling optimal resource allocation across diverse workloads.

OS/390 was known for its superior workload management capabilities. The Workload Manager (WLM) component allowed administrators to define service policies, specifying how system resources would be allocated according to the priority of tasks. This ensured that critical business processes received the necessary resources while less critical tasks were managed more flexibly.

Another significant characteristic of OS/390 was its commitment to security. The operating system provided comprehensive security features, including user authentication, data encryption, and auditing capabilities. This focus on security was vital for organizations handling sensitive data, ensuring compliance with regulations and safeguarding against unauthorized access.

OS/390 also supported advanced technologies that facilitated integration and development. The system included features like the IBM CICS (Customer Information Control System) for transaction processing and IMS (Information Management System) for database management. These technologies allowed organizations to build robust, high-performance applications tailored to specific business needs.

The ease of network integration was another strength of OS/390. With the advent of the Internet and global connectivity, OS/390 systems could easily interface with various network protocols, enabling businesses to operate in a connected world. This inclusion paved the way for many organizations to expand their capabilities and offer new services, driving digital transformation.

In conclusion, IBM OS/390 represented a significant advancement in mainframe technology, combining scalability, security, and robust workload management. Its rich feature set and support for critical enterprise applications solidified its role as a vital component of many organizations' IT infrastructures, ensuring they could meet their operational challenges head-on while supporting future growth. As technology continues to evolve, the legacy of OS/390 remains influential in the realm of computing.