How to find out the closest prime number of an input number?
I believe it has something to do with SEARCH and COBOL
Linear Array.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More COBOL Interview Questions

give the examples of strings in cobol

1 Answers   IBM,


What are the differences between COBOL and COBOL II?

1 Answers   CSC,


can I copy book which contain db2 statment in procedure divion?

2 Answers   Bank Of America,


What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(9) VALUE SPACES. 01 WS-VARN REDEFINES WS-VARX PIC 9(9).

8 Answers  


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?

4 Answers   iGate,






What are the different data types in cobol?

0 Answers  


I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.

1 Answers  


How can you get the ksds file records into your cobol program?

0 Answers  


How to retain the Duplicates in the one records?

3 Answers   CS,


what is jcl approach for programming?

4 Answers   IBM,


What are options have been removed in COBOL 11?

1 Answers  


A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.

1 Answers  


Categories