Top "Mainframe" questions

The mainframe tag refers to the class of "big iron" computers, primarily those from IBM.

How to abend job intentionally

Is it possible to abend your job intentionally through COBOL program. suppose I have an Input file having Header,Detail …

cobol mainframe jcl
How do I select distinct count over multiple columns?

How to select distinct count over multiple columns? SELECT COUNT(DISTINCT col1, col2, col3) FROM table; Is there a working …

db2 mainframe
append records to an existing file

If I want to append records to an existing file what DISP parameters do I need to use?

cobol dataset mainframe jcl
How to use the C socket API in C++ on z/OS

I'm having issues getting the C sockets API to work properly in C++ on z/OS. Although I am including …

c++ c sockets mainframe zos
How to unpack COMP-3 digits using Java?

I have huge mainframe file and there are some packed digits in that file. I would like to know how …

ascii mainframe ebcdic packed-decimal
How can z/OS call a web service?

I have a COBOL program that needs to get data from a web service. Without using CICS what are my …

web-services cobol mainframe zos
VSAM Status code 04

I am running one COBOL pgm which is reading one VSAM file. Below is ithe input output section in my …

cobol mainframe jcl
Teaching myself Z/OS assembler

I’ve interned at a company that does a lot of mainframe work. Most of my mainframe experience has been …

assembly mainframe zos
Downloading text files with Python and ftplib.FTP from z/os

I'm trying to automate downloading of some text files from a z/os PDS, using Python and ftplib. Since the …

python ftp mainframe zos
How do you get average of sums in SQL (multi-level aggregation)?

I have a simplified table xx as follows: rdate date rtime time rid integer rsub integer rval integer primary key …

sql db2 mainframe aggregation multi-level