) How do u handle errors in BMS macro?



) How do u handle errors in BMS macro?..

Answer / Ashok Kumar Singh

In COBOL, to handle errors in BMS macros, you can use the BMS error handling features like the $ZERR and $ZERROR macros. These macros allow you to trap errors, set error codes, and perform specific actions upon encountering an error during execution.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

how we rectify soc4 and soc7 error in project(need real time answer)? please reply

3 Answers   HCL, Wipro,


can we redefine 77 level item is it possible

4 Answers   HCL,


What compiler option would you use for dynamic linking?

2 Answers  


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1 Answers  


can internal sort be applied to sort ksds files?

1 Answers  


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

1 Answers   L&T,


WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH

2 Answers   Cap Gemini,


Suppose i want to declare a binary comp fild of 7 byte .how to write?

6 Answers   IBM,


Scenario: I have 3 Input Files.Read the first i/p file and depending on certain business logic, I want to read wither i/p file-2 or i/p file-3.Now, depending on certain business logic applied to the record read from either file-2 or file-3, I decide to write them to either output file-2 or output file-2. Question: How many job steps are necessary to implement a solution for the above.

2 Answers   TCS,


Can we call a CICS program from a batch program or viceversa?If so, how?

3 Answers  


Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?

5 Answers   IBM,


if we have a 10 steps how to override the 4th step in jcl?

2 Answers   Hewitt,


Categories