what is exception and how many types of exception

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

699


How many maximum record format a logical file have?

665


How to retrieve a physical file after deleting that?

664


I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?

752


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

669






When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

660


What is FORMAT keyword and its use?

272


What is the difference between access path and open data path?

680


What is the interactive job?

655


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

619


How to update physical file using logical file with example?

667


How to index LF by relative record no (RRN)

2930


How to know the particular record in pf with out reading?

670


How to read a pf in reverse(from last record to first) using cl?

675


How to find the list of source physical files in a library?

713