Mainframe Interview Questions

Q:

What does it mean if the null indicator has -1, 0, -2?

Answer

 -1 indicates the field is null


 0 indicates the field is not null


 -2 indicates the field is truncated

Report Error

View answer Workspace Report Error Discuss

0 2456
Q:

What is autostatus in IDMS?

Answer

Autostatus is a protocol mode which causes the expansion of each DML statement to include a 'perform IDMS-Status' statement.

Report Error

View answer Workspace Report Error Discuss

0 2439
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 2439
Q:

What CICS command do you need to obtain the user logon-id?

Answer

You must code EXEC CICS ASSIGN with the OPENID option.


 

Report Error

View answer Workspace Report Error Discuss

0 2434
Q:

What is ENQ in CICS ?

Answer

If any one want to restrict Trans-ID to single user, enter trans-id with ENQ. It won't allow any one else to use the same trans-id.

Report Error

View answer Workspace Report Error Discuss

0 2426
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

2 2413
Q:

How does IDMS communicate with CICS?

Answer

They communicate via service MVS request calls.

Report Error

View answer Workspace Report Error Discuss

0 2407
Q:

My SQL statement SELECT AVG(SALARY) FROM EMP yields inaccurate results. Why?

Answer

Because SALARY is not declared to have NULLs and the employees for whom the salary is not known are also counted.


 

Report Error

View answer Workspace Report Error Discuss

0 2395