Answers were Sorted based on User's Feedback
Answer / vish
If you talk in COBOL, then yes we have type os searches -
sequential search and Binary search.
SEARCH - Sequential
SEARCH ALL - Binary
It is important to note that for the Binary search the
input file (or table) must be sorted order else the result
of the SEARCH ALL will be wrong.
|Is This Answer Correct ?||13 Yes||0 No|
Answer / shashank v. singh
1.) serial search
2.) binary search
|Is This Answer Correct ?||4 Yes||0 No|
DATAONLY, MAPONLY functionality?
i need the code for this program in cobol. 2 + 1 = 3 4+3=7 6+5=11 8+7=15 10+9=19
WE HAVE 2 FILES IN COBOL. ONE IS FIXED LENGTH RECORDS ANOTHER ONE IS VARIABLE LENGTH. IF I DECLEAR LRECL OF FIXED ONE AS 80 AND 2ND RECORD AS 132. WHAT WE NEED TO DECLEAR LRECL FOR THOSE 2 FILES IN JCL?
01 b pic +9(4) How many bytes it will take for storage???
How to retain the Duplicates in the one records?
describe 805 error
If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.
a. Can the OPTIONAL clause in COBOL only be coded for input files? b. If it is coded for files opened in OUTPUT, I-O or EXTEND mode, will it give a compilation error? c. If there are no compilation errors and if such files are not coded in the JCL, will the OPEN statement run fine when these files are opened? d. How will a WRITE statement work for the above files?
How to resolve the soc4 and soc7 errors?
How include time & date in the report generation in cobol programing?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
When is a scope terminator mandatory?