Exporting TS QUEUE data to a flat file

EXQ sample output

The following program extracts all the items of a TS queue and write them to a flat file. The program has been tested using Dell Enterprise COBOL and executed in Dell TPE. The same program can be compiled and executed using any available re-hosting platform for LUW. Please note that the program uses native Unix/Linux […]

Confessions of a Cobol programmer

by Tam Harbert Last summer, Michael Vu, a 40-year-old independent IT consultant, found himself in a wholly unexpected place midway through his career. He’d signed a three-week contract to help a major U.S. retailer with an enterprise reporting project. The initial work was so successful that the project was extended. As a consequence, Vu was […]

Is your next language COBOL?

by Michael Swaine In July, citing a budget shortfall, the Governor of California ordered the salaries of 170,000 State employees to be cut to the Federal minimum wage. Not so fast, said the State Controller. Because California’s payroll systems are written in antiquated Cobol code, it would take six months to implement the change and […]

Famous Maiframe and Cobol quotes

The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense. Edsger Wybe Dijkstra (Dutch computer scientist) COBOL means Completely Obsolete Business Orientated Language. Anonymous Cobol has almost no fervent enthusiasts. As a programming tool, it has roughly the sex appeal of a wrench. Charles Petzold (American programmer) COBOL […]

SLEEP using CEE3DLY

CEE3DLY provides a service for Language Environment-conforming applications that suspends the processing of the active enclave for a specified number of seconds. The maximum is 1 hour. Syntax >>-CEE3DLY–(–input_seconds–,–fc–)————————->< input_seconds A full-word binary value in the range of 0 to 3600 that specifies the total number of seconds during which the enclave should be suspended. […]

COBOL

COBOL (/ˈkoʊbɒl/) is a compiled computer programming language designed for business use. It is imperative, procedural and, since 2002, object-oriented. It was designed in 1959 by the Conference on Data Systems Languages (CODASYL) and was largely based on previous programming language design work by Grace Hopper, commonly referred to as “the mother of COBOL”. COBOL […]

DB2

IBM DB2 is a family of database server products developed by IBM. These products all support the relational model, but in recent years some products have been extended to support object-relational features and non-relational structures, in particular XML. Historically and unlike other database vendors, IBM produced a platform-specific DB2 product for each of its major […]

IMS command codes

Any SSA, qualified or unqualified, can include a command code. A command code provides still more information for the call. It may affect how the call function is performed, or it may affect the qualification of a segment. Command codes consist of an asterisk (*) followed by a letter. Use the following reference information for […]