Mainframe Interview Questions

Q:

Name some common VSAM error conditions and codes?

Answer

End of file  (10)


Duplicate key (22)


Record not found (23)


VSAM logic error  (90)


Open problem  (92)


Space problem (93)

Report Error

View answer Workspace Report Error Discuss

0 2270
Q:

What is a DB2 plan?

Answer

An application plan or package is generated by the bind to define an access path. 

Report Error

View answer Workspace Report Error Discuss

0 2236
Q:

How does DB2 determine what lock- size to use?

Answer

1. Based on the lock-size given while creating the table space


2. Programer can direct the DB2 what lock-size to use


3. If lock - size ANY is specified, DB2 usually chooses a lock-size of PAGE

Report Error

View answer Workspace Report Error Discuss

0 2225
Q:

In the JCL, how do you define the files referred to in a subroutine ?

Answer

Supply the DD cards just as you would for files referred to in the main program.

Report Error

View answer Workspace Report Error Discuss

0 2139
Q:

What happens when a CICS command contains the NOHANDLE option?

Answer

- NOHANDLE is an option that can be specified along with abnormal condition during program execution.


- When the exception occurs, no action is performed during execution of NOHANDLE command.


- The abnormal condition is ignored, even the EXEC CICS HANDLE condition exist.


- The abnormal condition is also ignored when EXEC CICS IGNORE condition is tested.


- The previous HANDLE CONDITION for other commands will not be effected with NOHANDLE option.

Report Error

View answer Workspace Report Error Discuss

0 2099
Q:

Is there a application program coding difference between local and central version mode in IDMS?

Answer

No. The mode is specified via the SYSCTL DD card in the JCL.

Report Error

View answer Workspace Report Error Discuss

0 2086
Q:

What are the differences between COBOL and COBOL II?

Answer

There are some differences:


COBOL II supports structured programming by using in line Performs and explicit scope terminators. It introduces new features (EVALUATE, SET. TO TRUE, CALL BY CONTEXT, etc). It permits programs to be loaded and addressed above the 16-megabyte line .  It does not support many old features (READY TRACE, REPORT-WRITER, ISAM, etc.). It offers enhanced CICS support.

Report Error

View answer Workspace Report Error Discuss

0 2065
Q:

What is an OOK-Rec in IDMS?

Answer

An OOK-Rec is a one of a kind record set, used to get to another record set.

Report Error

View answer Workspace Report Error Discuss

0 2060