what is error handling concepts in cl
Answers were Sorted based on User's Feedback
Answer / 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 |
Last statement of any RPG pgm is LR?
How to find the list of source physical files in a library?? Is there any way to get a list??
how to add a new field to a file without compiling it?
Can anybody tell why Journalling is compulsary before Commitment Control?
1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Where I have to specify the member name? 2. How to differentiate between the types of join from a Join logical file DDS. Is it possible to have different types of Join Logical files? 3.Any performance difference between Opnqrf and Embedded SQL? When I should prefer Opnqryf and when SQL? 4. I know access path is the path chosen by the program to retrieve data. It can be of keyed access path or arrival sequence. *IMMED- *IMMED description says access path is updated each time record is added or deleted from a member. - What is updating here? *REBLD - The access path is completely rebuilt each time a file member is opened. The access path is maintained until the member is closed, then the access path is deleted. - I am not able to understand this completely. Could anyone explain these more clearly? 5.What is the purpose of using activation group. I know it is a resource allocator, but other than this any other benefits of using an activation group?
how to update physical file using logucal file with example
How to know logical file belongs to which physical file without source?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
How to update physical file using logical file with example?
how can we write LF using flatfile.
How many maximum record format a logical file have?
Maximum how many fields we can create under a record format of PF?