Tag: mainframe

Questions Related to mainframe

  1. There is either a JCLLIB statement for the entire JOB, or a separate one for each EXEC statement, not both.

  2. A JCLLIB statement can not have a statement name.

  3. There can only be one JCLLIB statement per JOB.

  4. A JCLLIB statement must be coded before the first EXEC statement.


Correct Option: C,D
  1. We can override parameters on EXEC statements and add DD statements.

  2. We can override, nullify and add parameters on all statements and add DD and/or OUTPUT statements.

  3. We can add and override parameters to all statements, but can only nullify parameters to DD and OUTPUT statements.

  4. We can nullify, override and add parameters to all statements, but can only add DD statements.


Correct Option: B
  1. The passing of job control information to the Job Entry Subsystem

  2. The addressing of input resources

  3. The performance of calculations

  4. The sending of an email to the person who submitted the job


Correct Option: A,B
  1. DISP=(,PASS) is equivalent to DISP=(NEW,PASS,KEEP)

  2. DISP=(,,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP)

  3. DISP=(,,CATLG) is equivalent to DISP=(OLD,CATLG,CATLG)

  4. DISP=(OLD,,) is equivalent to DISP=(OLD,KEEP,KEEP)


Correct Option: B,D

One job has abended due to SB37 abend code. What should be the solution?

  1. The program is not getting special resource

  2. Input or Output datasets have some space unavailability

  3. The job has abended because of database problem.

  4. None of the above


Correct Option: B
  1. Begins the input data prompt at the system console

  2. Begins an instream dataset

  3. Marks the end of the command stream

  4. Includes all datasets within a naming pattern


Correct Option: B
  1. STATUS

  2. NOTIFY

  3. ENDMSG

  4. USER


Correct Option: B
Explanation:

The correct answer is B. NOTIFY.

In TSO (Time Sharing Option) or ISPF (Interactive System Productivity Facility), a job can send a status message to the TSO user at the completion of the job using the NOTIFY command.

By specifying the NOTIFY parameter in the job's JCL (Job Control Language) or by using the NOTIFY command within a program, the TSO user will receive a message indicating the completion status of the job once it finishes executing. This allows the user to be notified and stay informed about the job's completion.

Option A (STATUS), Option C (ENDMSG), and Option D (USER) are not valid options for sending a status message to the TSO user at the completion of a job in TSO or ISPF.

So, the correct answer is B. NOTIFY.

Where can program check points be stored for use in a restart?

  1. SYSCHK DD statement

  2. CHCKPOINT DD statement

  3. CHKOUT DD statement

  4. CHECK or DD statement


Correct Option: A