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

GET A DEMO

"Our recruiters no longer rely only on the telephonic interviews. We shortlist candidates based on assessment reports. The detailed test reports provide skill wise analysis of each candidate. This has helped our clients reduce their time to hire by 60%."

Vipin Sharma, Mobile Programming,
General Manager HR & Recruitement
Question

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.

Answer
    • bikes. = 500

    • bikes. = bikes. + 500

    • bikesA. = bikesB

    • bikes. = ''

Question

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

Answer
    • 2 and 4

    • 2 only

    • 5 only

    • 2, 4 and 5

    • None of the mentioned

Question

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?

Answer
    • 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.

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 support@interviewmocha.com 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...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO