Search test library by skills or roles
⌘ K

IBM Mainframe Online Test

The Mainframe Online Test uses scenario-based MCQs to evaluate candidates on their knowledge of mainframe technologies, including COBOL programming language, JCL, VSAM, CICS, and DB2. The test aims to evaluate a candidate's ability to design and develop mainframe applications that adhere to industry standards and best practices effectively.

Get started for free
Preview questions

Screen candidates with a 35 mins test

Test duration:  35 mins
Difficulty level:  Moderate
Availability:  Ready to use
Questions:
  • 7 COBOL MCQs
  • 5 IBM DB2 MCQs
  • 5 IBM JCL MCQs
Covered skills:
COBOL
JCL
VSAM
DB2
CICS
IMS
Assembler
RPG
PL/I
TSO
ISPF
Get started for free
Preview questions

Use Adaface tests trusted by recruitment teams globally

Adaface is used by 1500+ businesses in 80 countries.

Adaface skill assessments measure on-the-job skills of candidates, providing employers with an accurate tool for screening potential hires.

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte NCS Sokrati J&T Express Capegemini

Use the IBM Mainframe Test to shortlist qualified candidates

The IBM Mainframe Online Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Proficient in COBOL programming language
  • Strong understanding of IBM DB2 database
  • Experience in writing and executing IBM JCL scripts
  • Knowledge of VSAM file organization
  • Familiarity with CICS (Customer Information Control System)
  • Understanding of IMS (Information Management System)
  • Ability to code in Assembler language
  • Competence in RPG (Report Program Generator)
  • Working knowledge of PL/I (Programming Language One)
  • Proficiency in TSO (Time Sharing Option)
  • Ability to use ISPF (Interactive System Productivity Facility)
Get started for free
Preview questions

Screen candidates with the highest quality questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

How we design questions

These are just a small sample from our library of 15,000+ questions. The actual questions on this IBM Mainframe Test will be non-googleable.

🧐 Question

Medium

Decision Control
Arithmetic Operations
Decision Structures
Data Types
Solve
Consider the following COBOL program:
 image
What will the program display when it is executed?

Medium

Multi Dimensional Arrays
Arrays
Data Processing
Subroutines
Solve
Consider the following pseudocode snippet in COBOL:
 image
After executing this program, what will be the final state of StrArr?

Medium

VSAM File Processing in COBOL
VSAM
File Handling
Solve
Consider the following COBOL code snippet. The program aims to read from a VSAM Key-Sequenced Data Set (KSDS) named 'CUSTOMER-FILE' which contains customer records. The program reads the file in ascending order by 'CUSTOMER-ID', performs some processing (not shown here), and then displays the 'CUSTOMER-NAME' of the last record read.
 image
Assuming there are no syntax errors and the 'CUSTOMER-FILE' is present and accessible, what will the program display as the last customer's name after executing this COBOL program?
A: The program will display the name of the customer with the highest 'CUSTOMER-ID'.
B: The program will display the name of the customer with the lowest 'CUSTOMER-ID'.
C: The program will not display any customer name.
D: The program will display the name of the first customer in the 'CUSTOMER-FILE'.
E: The program will display an uninitialized or random 'LAST-NAME'.

Medium

Database Performance Tuning and Data Consistency
Database Performance Tuning
Transaction Management
Locking Mechanisms
Solve
Consider the following DB2 database scenario. You are managing a stock trading platform that uses a DB2 database to track user transactions and market prices. The database has two tables, Users and Stocks.
 image
A user transaction to buy a stock is a two-step process:

1. Decrease the user's balance in the Users table.
2. Increase the quantity of the stock owned by the user in the Stocks table.

Both these steps need to be performed atomically to maintain data consistency.

Recently, with the increase in the volume of transactions, you are experiencing performance issues. Additionally, you have observed that during peak trading hours, a large number of user transactions are getting blocked, leading to user dissatisfaction.

Which of the following strategies would BEST address the performance and blocking issues, while ensuring data consistency?
A: Implement an optimistic concurrency control mechanism.
B: Reduce the transaction isolation level to READ UNCOMMITTED.
C: Break the transaction into two separate transactions
D: Increase the database's buffer pool size.
E: Implement row-level locking.

Medium

DB2 Isolation Levels and Data Consistency Revisited
Transactions
Isolation Levels
Data Consistency
Solve
Consider two users executing the following transactions concurrently on DB2:

Transaction 1 (User A):
 image
Transaction 2 (User B):
 image
Table1 has thousands of records, and the value 'Value1' for Column1 is not unique in Table1. Both transactions are executed almost simultaneously with Transaction 2 executed a bit earlier. Considering the isolation levels set for the transactions, which of the following is the potential data inconsistency issue that might arise?
A: A deadlock situation may occur.
B: Transaction 1 will wait indefinitely for Transaction 2 to commit.
C: Both transactions might update the same record leading to a lost update.
D: Transaction 1 can experience a dirty read due to the changes made by Transaction 2.

Medium

Optimizing Query Performance
Indexing
Query Optimization
Solve
You are managing a DB2 database which includes a table named `ORDERS`. The `ORDERS` table has a large volume of data and contains the following columns: `OrderID`, `CustomerID`, `OrderDate`, `ProductID`, `Quantity`. 

One of the frequently executed queries on the `ORDERS` table is:
 image
You are asked to optimize this query without changing its structure or the table schema. Which of the following strategies would MOST likely improve the performance of this query?
A: Create a HASH index on `CustomerID` and `OrderDate`.
B: Create a CLUSTERED index on `CustomerID` and `OrderDate`.
C: Create a NONCLUSTERED index on `CustomerID` and `OrderDate`.
D: Create a CLUSTERED index on `OrderID`.
E: Create a NONCLUSTERED index on `OrderID`.

Medium

Transaction Handling and Error Recovery in DB2
SQL Programming
Transactions
Error Handling
Solve
Consider the following pseudocode in an IBM DB2 environment:
 image
This stored procedure is used to update the inventory of a particular item. If the `NewQuantity` input parameter is negative, the procedure signals an exception. There's also a handler declared for exceptions, which logs an error message.

Given this scenario, if an error occurs during the UPDATE statement, which of the following will happen?
A: The update operation will fail, an error message will be logged, and the quantity in the inventory will remain unchanged.
B: The update operation will succeed, no error message will be logged, and the quantity in the inventory will be updated.
C: The update operation will fail, an error message will be logged, but the quantity in the inventory will still be updated.
D: The update operation will fail, no error message will be logged, and the quantity in the inventory will remain unchanged.
E: The update operation will succeed, an error message will be logged, but the quantity in the inventory will still be updated.

Medium

Disposition Parameters
JCL Syntax
Dataset Management
Solve
Consider the following JCL snippet:
 image
In MYJOB, PROG1 in STEP1 uses the dataset MY.DS.INPUT with a disposition of (OLD,DELETE,KEEP). PROG2 in STEP2 also uses the dataset MY.DS.INPUT with a disposition of (NEW,PASS,DELETE).

Assume that STEP1 executed successfully, but STEP2 failed during its execution. What would be the status of the dataset MY.DS.INPUT after the job MYJOB is run?
A: MY.DS.INPUT will be deleted.
B: MY.DS.INPUT will be kept and can be used by other jobs.
C: MY.DS.INPUT will be newly created.
D: MY.DS.INPUT will be available for the duration of the job, then deleted.
E: MY.DS.INPUT status cannot be determined with the provided information.

Medium

Execution Order and Return Codes
Job Control
Execution Order
Return Codes
Solve
Consider a JCL job that needs to execute five steps: STEP01, STEP02, STEP03, STEP04, and STEP05. The steps represent data initialization, data processing, data validation, error handling, and job finalization respectively.

The execution rules are as follows:

1. The job should always start with STEP01.
2. STEP02 should only execute if STEP01 completes successfully with a return code (RC) of 0.
3. STEP03 should always run after STEP02, irrespective of STEP02's return code.
4. STEP04 should only execute if either STEP02 or STEP03 fails, i.e., return a code not equal to 0.
5. STEP05 should always be the last step, and should only execute if all the previous steps were successful (each returning a code of 0).

Given these rules, how would you design the JCL job using the IF/THEN/ELSE/ENDIF construct?
 image
🧐 Question🔧 Skill

Medium

Decision Control
Arithmetic Operations
Decision Structures
Data Types

2 mins

COBOL
Solve

Medium

Multi Dimensional Arrays
Arrays
Data Processing
Subroutines

2 mins

COBOL
Solve

Medium

VSAM File Processing in COBOL
VSAM
File Handling

2 mins

COBOL
Solve

Medium

Database Performance Tuning and Data Consistency
Database Performance Tuning
Transaction Management
Locking Mechanisms

3 mins

IBM DB2
Solve

Medium

DB2 Isolation Levels and Data Consistency Revisited
Transactions
Isolation Levels
Data Consistency

2 mins

IBM DB2
Solve

Medium

Optimizing Query Performance
Indexing
Query Optimization

2 mins

IBM DB2
Solve

Medium

Transaction Handling and Error Recovery in DB2
SQL Programming
Transactions
Error Handling

3 mins

IBM DB2
Solve

Medium

Disposition Parameters
JCL Syntax
Dataset Management

2 mins

IBM JCL
Solve

Medium

Execution Order and Return Codes
Job Control
Execution Order
Return Codes

2 mins

IBM JCL
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Decision Control
Arithmetic Operations
Decision Structures
Data Types
COBOL
Medium2 mins
Solve
Multi Dimensional Arrays
Arrays
Data Processing
Subroutines
COBOL
Medium2 mins
Solve
VSAM File Processing in COBOL
VSAM
File Handling
COBOL
Medium2 mins
Solve
Database Performance Tuning and Data Consistency
Database Performance Tuning
Transaction Management
Locking Mechanisms
IBM DB2
Medium3 mins
Solve
DB2 Isolation Levels and Data Consistency Revisited
Transactions
Isolation Levels
Data Consistency
IBM DB2
Medium2 mins
Solve
Optimizing Query Performance
Indexing
Query Optimization
IBM DB2
Medium2 mins
Solve
Transaction Handling and Error Recovery in DB2
SQL Programming
Transactions
Error Handling
IBM DB2
Medium3 mins
Solve
Disposition Parameters
JCL Syntax
Dataset Management
IBM JCL
Medium2 mins
Solve
Execution Order and Return Codes
Job Control
Execution Order
Return Codes
IBM JCL
Medium2 mins
Solve

Test candidates on core IBM Mainframe Hiring Test topics

COBOL: COBOL, or Common Business-Oriented Language, is a programming language used primarily for business applications. It is known for its readability and self-documenting nature, making it easy for programmers to understand and maintain code. Testing COBOL skills is important as it is still widely used in many legacy systems, and having proficiency in COBOL is valuable for job roles in the banking, insurance, and government sectors.

JCL: JCL, or Job Control Language, is a scripting language used to define and control jobs in an IBM mainframe environment. It is essential to measure JCL skills in this test as it is critical for managing and executing batch processes, defining data sets, and interacting with other mainframe components. Having expertise in JCL ensures smooth and efficient job execution in a mainframe environment.

VSAM: VSAM, or Virtual Storage Access Method, is a file management system used in IBM mainframes. It provides efficient access to large volumes of data through indexed sequential access methods. Testing VSAM skills in this assessment is crucial as it is commonly used for storing and retrieving data in mainframe applications. Proficiency in VSAM is beneficial for job roles involving data management and processing in mainframe environments.

DB2: DB2 is a relational database management system (RDBMS) designed for IBM mainframes. It provides a robust and scalable platform to store, query, and manipulate data. Measuring DB2 skills in this test is important as it is widely used in mainframe environments for managing databases and performing complex data operations. Proficiency in DB2 is valuable for job roles involving database administration and development in mainframe systems.

CICS: CICS, or Customer Information Control System, is a transaction server that enables online transaction processing in mainframe environments. It provides a platform for developing and executing large-scale, mission-critical business applications. Evaluating CICS skills in this assessment is crucial as it is essential for job roles involving online transaction processing and creating scalable and reliable mainframe applications.

IMS: IMS, or Information Management System, is a hierarchical database management system used on IBM mainframes. It provides a robust platform for managing and accessing large amounts of structured and unstructured data. Testing IMS skills in this assessment is important as it is widely used in mainframe environments, particularly in industries such as finance, telecommunications, and healthcare. Proficiency in IMS is valuable for job roles involving database management and application development in mainframe systems.

Assembler: Assembler is a low-level programming language used to develop and control computer hardware and software interfaces. It allows programmers to directly access and manipulate machine-level instructions. Including Assembler skills in this test is crucial as it is still used in certain mainframe environments for performance-critical tasks and hardware interactions. Proficiency in Assembler is beneficial for job roles involving optimization, debugging, and low-level programming in mainframe systems.

RPG: RPG, or Report Program Generator, is a high-level programming language used for business applications on IBM mainframes. It is optimized for processing large volumes of data and generating reports. Measuring RPG skills in this test is important as it is still used in many legacy mainframe systems, particularly in industries such as banking and insurance. Proficiency in RPG is valuable for job roles involving business application development and maintenance in mainframe environments.

PL/I: PL/I, or Programming Language One, is a high-level programming language designed for scientific, engineering, business, and systems programming. It combines features of different programming languages and supports both procedural and object-oriented programming paradigms. Testing PL/I skills in this assessment is valuable as it is used in mainframe environments for developing complex and critical applications. Proficiency in PL/I is beneficial for job roles involving systems programming, scientific analysis, and large-scale application development.

TSO: TSO, or Time Sharing Option, is an interactive command-line interface provided by IBM mainframes. It allows users to interact with the mainframe operating system, execute commands, and perform various system operations. Measuring TSO skills in this test is important as it is fundamental for navigating and managing mainframe environments, including file system access, job control, and system monitoring. Proficiency in TSO is valuable for job roles involving mainframe operations and system administration.

ISPF: ISPF, or Interactive System Productivity Facility, is a software package provided by IBM for mainframe environments. It provides a customizable and interactive interface for managing files, editing programs, and performing various development and administrative tasks. Including ISPF skills in this test is important as it is widely used for day-to-day operations in mainframe environments. Proficiency in ISPF is beneficial for job roles involving program development, system maintenance, and interaction with mainframe resources.

Get started for free
Preview questions

Make informed decisions with actionable reports and benchmarks

View sample scorecard

Screen candidates in 3 easy steps

Pick a test from over 500+ tests

The Adaface test library features 500+ tests to enable you to test candidates on all popular skills- everything from programming languages, software frameworks, devops, logical reasoning, abstract reasoning, critical thinking, fluid intelligence, content marketing, talent acquisition, customer service, accounting, product management, sales and more.

Invite your candidates with 2-clicks

Make informed hiring decisions

Get started for free
Preview questions

Try the most advanced candidate assessment platform

ChatGPT Protection

Non-googleable Questions

Web Proctoring

IP Proctoring

Webcam Proctoring

MCQ Questions

Coding Questions

Typing Questions

Personality Questions

Custom Questions

Ready-to-use Tests

Custom Tests

Custom Branding

Bulk Invites

Public Links

ATS Integrations

Multiple Question Sets

Custom API integrations

Role-based Access

Priority Support

GDPR Compliance


Pick a plan based on your hiring needs

The most advanced candidate screening platform.
14-day free trial. No credit card required.

From
$15
per month (paid annually)
love bonito

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!

Brandon Lee, Head of People, Love, Bonito

Brandon
love bonito

It's very easy to share assessments with candidates and for candidates to use. We get good feedback from candidates about completing the tests. Adaface are very responsive and friendly to deal with.

Kirsty Wood, Human Resources, WillyWeather

Brandon
love bonito

We were able to close 106 positions in a record time of 45 days! Adaface enables us to conduct aptitude and psychometric assessments seamlessly. My hiring managers have never been happier with the quality of candidates shortlisted.

Amit Kataria, CHRO, Hanu

Brandon
love bonito

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.

Swayam Narain, CTO, Affable

Brandon

Have questions about the IBM Mainframe Hiring Test?

How does pricing work?

You can check out our pricing plans.

Can I customize the test?

Yes, absolutely. Custom assessments are set up within 48 hours based on your job description, and will include questions on all must-have skills you specify. Here's a quick guide on how you can request a custom test. You can also customize a test by uploading your own questions.

Can I combine multiple skills into one test?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify. Here's a quick guide on how you can request a custom test.

What roles can I use the IBM Mainframe Test for?

Here are few roles for which we recommend this test:

  • Mainframe Developer
  • Mainframe Programmer
  • Mainframe Systems Analyst
  • Mainframe Operations Analyst
  • Mainframe Administrator
Can I see a sample test, or do you have a free trial?

Yes!

The free trial includes one sample technical test (Java/ JavaScript) and one sample aptitude test that you will find in your dashboard when you sign up. You can use it to review the quality of questions and the candidate experience of giving a test on Adaface.

You can preview any of the 500+ tests and see the sample questions to decide if it would be a good fit for your requirements.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

customers across world
Join 1500+ companies in 80+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to use the Adaface IBM Mainframe Test?
Ready to use the Adaface IBM Mainframe Test?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Terms Privacy Trust Guide
ada
Ada
● Online
Previous
Score: NA
Next
✖️