Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

IBM Mainframe REXX Programming Test

Topics Covered

  • Data Model
  • File Operations
  • Parsing
  • String Manipulation
  • Basic Components
  • Program Structure

Useful for hiring

  • REXX Developer
  • Mainframe Developer - REXX

Start hiring job-fit candidates using this assessment


"We are impressed by the caliber, depth, and breadth of the assessments provided by Interview Mocha. With Interview Mocha's online proctoring & powerful reports, we are able to hire quality candidates overcoming geographical barriers."

Megan Akhras, J'Excelle,Canada,
Co-founder & director

Given below are some array operations in REXX. Which of these statements in invalid and will not give the expected results?

Note: There can be multiple correct answers to this question.

    • bikes. = 500

    • bikes. = bikes. + 500

    • bikesA. = bikesB

    • bikes. = ''


Read the given code and identify the line which will throw an error.

1. parse arg inp_file, out_file
2. do while lines(inp_file) > 0 
3. input_line = linein(inp_file)
4. if pos(‘LOST PASSWORD’,input_line) >= 1 then
5. rc = lineout (out_file,input_line)
6. end

    • 2 and 4

    • 2 only

    • 5 only

    • 2, 4 and 5

    • None of the mentioned


Consider the statement given below.

"In REXX program, you if you write data to a file then, you need to explicitly specify the command for closing the file."

Which of the following options justifies the above statement correctly?

    • Files are not automatically closed in REXX.

    • Files are not automatically saved in REXX.

    • File Close command of REXX creates the new version of the modified file.

    • The statement is false.

Test details:

Identify potential hires using IBM REXX assessment test by evaluating working skills and job readiness of the applicants. For this reason, an emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

The test may contain MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Coding, Descriptive, Whiteboard Questions, Audio / Video Questions, True or False.

Test Duration: 20 minutes

10 Application Questions

Mainframe REXX skill test contains a combination of application and theory questions that helps you to evaluate technical as well as practical skills of candidates.

Test description:

IBM Mainframe REXX Programming Test is created & validated by global subject matter experts (SMEs) to assess expertise of REXX developer as per industry standards.
REXX (Restructured Extended Executor) is developed at IBM and is designed to be a scripting language. It has the ability to support functions, procedures and commands associated with a specific invoking environment. REXX is often used for processing data and text and generating reports; these similarities with Perl mean that Rexx works well in Common Gateway Interface (CGI) programming and it is indeed used for this purpose.

Online Mainframe REXX test helps recruiters & hiring managers helps recruiters & hiring managers to gauge REXX programming skills of candidates for Mainframe.

Mainframe REXX skill test contains questions on following topics:

  • Data Model

  • File Operations

  • Parsing

  • String Manipulation

  • Basic Components

  • Program Structure

Use our scientifically designed online IBM REXX programming test for candidate screening or ask us for the customizable assessment of all your requirements.

Our intelligent reports will help you to gauge the technical strengths of the candidate to make the right hiring decisions.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates