What is the use of DEFINED attribute in DCL statement?
DEFINED attribute indicates that the variable is mapped on storage of another variable. This process is called Overlay defining.
What is the difference between DEFINED attribute and LIKE atrribute.
DEFINED attribute maps the variable to storage of another variable. LIKE attribute allocates storage similar to another variable.
What is the difference between bulitin fuction VERIFY and INDEX?
INDEX(x,y) returns the starting position of the string y within string
x. Returns 0 if y not present in x.
Verify(x,y) returns the first position in x where any character in
y is not in string 1. If all characters in x are contained in y, result is zero.
x. Returns 0 if y not present in x.
Verify(x,y) returns the first position in x where any character in
y is not in string 1. If all characters in x are contained in y, result is zero.
CONDITION is an interrupt to the program. A CONDITION has to be handled using ON statement.
How we can disable the enabled CONDITIONS.
REVERT statement cancels the existing ON unit for the specified condition.
This post will be updated regularly. Your contributions to this blog are welcome. Please send the interview questions to knowmainframe@gmail.com
No comments:
Post a Comment