what is exception and how many types of exception



what is exception and how many types of exception..

Answer / venkat

1. File exception
e.g. Undefined record type or a device error, Record lock, Update operation attempted without a prior read
2. Program exception
e.g. Divide by zero, array index out-of-bound, Invalid Date, Time or Timestamp value.


We can see all the program/file related system messages using the command below:
DSPMSGD RANGE(*FIRST *LAST) MSGF(QRNXMSG) DETAIL(*BASIC)

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB400 Interview Questions

what is error handling concepts in cl

3 Answers   Active Brains,


What is the interactive job? What is the batch job?

0 Answers  


what is dynslt and why we use that command when do we use command

2 Answers   Active Brains, UHG,


how to update physical file using logucal file with example

1 Answers   Wipro,


What is the primary file?

0 Answers  






What is the use of member in pf?

0 Answers  


I had created one physical file tell me command to enter data in to?

1 Answers  


How to update physical file using logical file with example?

0 Answers  


what is open data base command

1 Answers   Active Brains, Cognizant, CSC, CTS,


What is the batch job?

0 Answers  


what is the difference between adding keys & constraints into a phisical file

6 Answers   HSBC,


How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 Answers  


Categories