-
-
-
-
-
What is the difference between a binary search and a sequential search? What are the pertinent COBOL commands?
In a binary search the table element key values must be in ascending or descending sequence. The table is 'halved' to search for equal to, greater than or less than conditions until the element is found. In a sequential search the table is searched from top to bottom, so (ironically) the elements do not have to be in a specific sequence. The binary search is much faster for larger tables, while...
-
What is the point of the REPLACING option of a copy statement?
REPLACING allows for the same copy to be used more than once in the same code by changing the replace value
-
-
-
Where is a period required in Cobol?
At the end of the word DIVISION At the end of the word SECTION At the end of paragraph names coded in Area A To denote the end of a sentence To denote the end of an entry After the last statement in each paragraph
-
-
-
-
-
-
-
-
How do you retrieve a sequential file in random manner
Yes when there is online
-
Dynamic Linking in COBOL
I have two modules called 'A' and 'B'. Module 'A' opens the ORACLE database connection, and Calls 'B', which queries the database using the 'SELECT' statement.When I hard code the module name during CALL, the called module uses the database connection opened in the module 'A'. Pls refer below:CALL "B"But, when I moved the module name into a variable and try to call the module, as belowMOVE "B" TO...
-
Real time requirement in global payments-mainframes
Hiprovide info about any real time requirement in global payments-mainframesbyeramya
-
COBOL Interview Questions
Ans