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

If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.

2 Answers  


hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that

9 Answers   Encore,


What is the purpose of the chain and setll and setgt?

0 Answers  


what is error handling concepts in cl

3 Answers   Active Brains,


How to find the list of source physical files in a library?? Is there any way to get a list??

5 Answers   Infosys,






I have a pf, it contains 5 members, how to access particular member data from logical file?

0 Answers  


What is the use of member in pf?

0 Answers  


what is open data base command

1 Answers   Active Brains, Cognizant, CSC, CTS,


what is the purpus of the chain and setll and setgt ?

2 Answers   Four soft,


what is open data path? and what is the diff b/w access path and open data path?

3 Answers   Cap Gemini,


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

6 Answers  


Is Constent can be define as a key field?

3 Answers  


Categories