what is error handling concepts in cl

Answer Posted / surya siram

Yes, In CL program through MONMSG we can able to handle the errors. But handling the errors at two levels.

1. Command level.
2. Program level.

If we define the monmsg at command level, then that error handler applicable to only that command.
If you define the monmsg just after the declaration part, then that monmsg will be applicable to whole program.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

807


What is the use of member in pf?

786


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

814


What is the interactive job?

795


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

849


How many maximum record format a logical file have?

795


Can we concatenate fields in physical file? If yes how can we do?

817


How to update physical file using logical file with example?

828


What is open data path?

782


What is FORMAT keyword and its use?

409


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

753


How to change the batch job to interactive job?

767


How to retrieve a physical file after deleting that?

792


What is the batch job?

783


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

849