Mainframes run the world

Despite the excitement that has surrounded the Web and new programming models like Java and J2EE (as well as Microsoft’s .NET), older, less ‘trendy’ technologies account for the vast bulk of computer processing today.

IBM and the mainframe

IBM is the leading mainframe vendor, with over 70% market share. Therefore, while this report covers the global mainframe market – it is largely dominated by IBM.

IBM is committed to its mainframe technology

the recent release of the z/os demonstrated the fact that IBM is committed to supporting its existing clients and sees a long-term future in the platform. IBM has invested well over $1 billion in developing the z/os .

The future of the mainframe

This reports says that over the next five years the number of individual mainframe machines will fall, but the total number of deployed MIPS will continue to rise.

Key messages

The mainframe is alive and well as a platform for very large workloads.

Monday, September 5, 2011

what is RETURN-CODE special register in COBOL?

When a COBOL program returns to its caller, the contents of the RETURN-CODE special register are stored into register 15.


When control is returned to a COBOL program or method from a call, the contents of register 15 are stored into the RETURN-CODE special register of the calling program or method. When control is returned from a COBOL program to the operating system, the special register contents are returned as a user return code.

You might need to think about this handling of the RETURN-CODE special register when control is returned to a COBOL program from a non-COBOL program. If the non-COBOL program does not use register 15 to pass back the return code, the RETURN-CODE special register of the COBOL program might be updated with an invalid value. Unless you set this special register to a meaningful value before your Enterprise COBOL program returns to the operating system, a return code that is invalid will be passed to the system

cob_ques

Friday, September 2, 2011

How we can reverse a string in COBOL without cobol function reverse?


Please read the below given code.



If you don't want to calculate the string lenth before the string reversal then you have to mention the the lenth of the string manually
like
MOVE 15 to WS-LEN
PERFORM REV-PARA WS-LEN TIMES.