Here is list of most common COBOL Questions and Answers for IBM Interview 2018. These questions are asked by every employer in the year 2018 and the sample answers provide for 2018. Please note these questions and collected from different forums, where recent job seekers have posted these COBOL Questions and Answers for IBM Interview.

Also Read List of other Sample IBM Questions and Answers for Interview.

Sample CICS Questions and Answers for IBM Interview Sample JCL Questions and Answers for IBM Interview
Sample VSAM Questions and Answers for IBM Interview Sample COBOL Questions and Answers for IBM Interview
Sample DB2 Questions and Answers for IBM Interview Sample IDMS Questions and Answers for IBM Interview
Sample IMS Questions and Answers for IBM Interview Sample MVS Questions and Answers for IBM Interview


Here is List of Sample COBOL Questions and Answers for IBM Interview

NO COBOL Questions and Answers for IBM Interview
1
WHAT IS REPORT-ITEM?
ANS
A REPORT-item is a field to be printed that contains EDIT SYMBOLS
2
You are writing report program with 4 levels of totals:city, state, region and country. The codes being used can be the same over the different levels, meaning a city code of 01 can be in any number of states, and the same applies to state and region code show. Do you do your checking for breaks and how do you do add to each level?
ANS
Always compare on the highest-level first, because if you have a break at a highest level, each level beneath it must also break. Add to the lowest level for each rec but add to the higher level only on break.
3
What is the Importance of GLOBAL clause According to new standards of COBOL
ANS When any data name, file-name , Record-name, condition name or Index defined in an Including Program can be referenced by a directly or indirectly in an included program, Provided the said name has been declared to be a global name by GLOBAL Format of Global Clause is01 data-1 PIC 9(5) IS GLOBAL.
 
4
What is the Purpose of POINTER Phrase in STRING command?
ANS
The Purpose of POINTER phrase is to specify the leftmost position within receiving field where the first transferred character will be stored.
5 How do we get currentdate from system with century?
ANS By using Intrinsic function, FUNCTION CURRENT-DATE
6 What is PSB & ACB?
ANS PSB : Program specification block. Inform about how a specific program is to be access one or more IMS DB. It consists of PCB(Prg Communication Block). Information to which segment in DB can be accessed, what the program is allowed to do with those segment and how the DB is to be accessed. ACB : Access Control Blocks are generated by IMS as an expansion of information contained in the PSB in order to speed up the access to the applicable DBD’s
COBOL Multiple Choice Interview Questions and Answers
7 The following statement WRITE OUT-REC.
Which one of the following modes of operating the Sequential file is not true.
ANS (a) OPEN INPUT 
(b) OPEN INPUT-OUTPUT
(c) OPEN EXTEND
(d) OPEN OUTPUT
8 The same file name can be specified in the USING and GIVING phrase of a SORT statement
ANS (a) True 
(b) False
9 If USING is specified in the SORT verb, then GIVING must also be specified.
ANS (1) True
(2) False
10 In SORT statement, all keys must be specified as ascending or descending but not as combination of the two
ANS (1) True
(2) False 
11 SORT RAFFLES_FILE
ON ASCENDING KEY IBM-MAIN Y2K-MAIN
USING INPUT-FILE GIVING OUTPUT-FILE.
Which one the following is true.
ANS (1) The sorted file will contain all Raffles records in ascending order of Y2K-MAIN.
(2) IBM-MAIN is the major key and Y2K-MAIN is the minor key
(3) The statement is wrong as there should be only one key since the clause ascending key appears only once.
(4) Both INPUT-FILE and OUTPUT-FILE must be described in the DATA DIVISION with SD entries.
12 SORT STUDENT-FILE
ON ASCENDING KEY CLASS-NUMBER STUDENT-NAME
USING INPUT-FILE GIVING OUTPUT-FILE.
Which one of the following is false.
ANS (1) All records with same CLASS-NUMBER will appear together in the consecutive positions of the sorted file.
(2) The data-names CLASS-NUMBER and STUDENT-NAME must appear in the record description of STUDENT-FILE.
(3) The files INPUT-FILE and OUTPUT-FILE should be opened by an OPEN statement before the SORT statement.
(4) The sizes of the records described for STUDENT-FILE , INPUT-FILE and OUTPUT-FILE must be equal.
13 About the MERGE verb,which one of the following is true.
ANS (1) Can merge a maximum of three files.
(2) Does not require that the input file to be merged be sorted on the merge keys.
(3) Requires that all files mentioned in the statement must have records of same size
(4) Does not require that the position of the merge keys with in the records descriptions of each of the files must be same.
14 Indicate which one the following is not a valid combination of a SORT verb
ANS (1) USING …….. GIVING
(2) USING …….. INPUT PROCEDURE
(3) USING …….. OUTPUT PROCEDURE
(4) INPUT PROCEDURE ….. OUTPUT PROCEDURE
15 Indicate which one of the following will not have the INVALID KEY Phrase when used in connection with sequentially accessed relative file in a PROCEDURE DIVISION with out any declarative section.
ANS
(1) REWRITE STATEMENT
(2) WRITE STATEMENT
(3) START STATEMENT
16 WRITE MASTER-REC INVALID KEY GO TO PARA-ERROR.
Indicate which of the following are not valid modes of opening the INDEXED file of which MASTER-REC is a record
ANS (a) OPEN INPUT  (b) OPEN OUTPUT  (c) OPEN INPUT-OUTPUT  (d) OPEN INDEXED.

(1) a and b
(2) a and c
(3) c and d
(4) a and d 

17  Which of the following is true about the file which is referenced in a DELETE statement
ANS (1) It must be opened in INPUT mode
(2) It must be opened in OUTPUT mode
(3) It must be opened in I-O mode
(4) As in the case of SORT statement, the file must be closed before the use of this statement
18 Indicate which of the following statement is not allowed when a relative file is opened to I-O mode and the ACCESS mode is RANDOM
ANS  (1) READ
(2) WRITE
(3) REWRITE
(4) START
19  Indicate which of the following is not a PROCEDURE DIVISION verb
ANS (1) START
(2) SEEK
(3) RERUN
(4) DELETE
20  Indicate which of the following is not a PROCEDURE DIVISION verb
ANS (1) REWRITE
(2) INSERT
(3) DELETE
(4) START
21 Indicate which of the statements may indicate DUPLICATE alternative key warning if it occursin case of an INDEXED ORGANISATION without DUPLICATE phrase (A) READ (B) REWRITE (C)WRITE (D) DELETE (E) START
ANS (1) A,D,E
(2) A,B,C
(3) A,C,D
(4) B,C,D
22 In case of a disk file, the ACCESS MODE clause must always be specified.
ANS (1) True
(2) False 
23 A READ statement can have AT END clause and INVALID KEY clause, but both must not appear simultaneously.
ANS (1) True
(2) False
24 With a READ statement either AT END clause or INVALID KEY clause must be specified
ANS (1) Yes(2) No (x)
25  Relative key clause must be mentioned in case of a Relative file organisation.
ANS (1) Yes
(2) No
26 The START statement enables the programmers to start processing from any record position.
ANS
(1) True
(2) False
27 Both the RECORD KEY and ALTERNATIVE KEY clause can be specified for and INDEXED file.
ANS (1) True 
(2) False
28 77 A PIC X(10) VALUE IS “AABBCCDDEE”.In PROCEDURE DIVISION contains the statement EXAMINE A REPLACING ALL “ABC” BY “XYZ” .Indicate which one of the following is true
ANS (1) The EXAMINE statement is incorrect because A does not contain the character “ABC” in a continuous sequence
(2) The EXAMINE statement is incorrect as it can be used to replace a numeric literal by another numeric literal.(3) The EXAMINE statement is incorrect as it is used to replace a single character by another single character but not a group of characters.
(4) The EXAMINE statement is incorrect as TALLYING OPTION is missing.
29 The UNSTRING verb is used to transfer data from several sources to one receiving field.
ANS (1) Yes
(2) No 
30 The STRING verb can be used to transfer characters from one alphanumeric field to another alphanumeric field starting at some particular position in receiving field
ANS (1) False
(2) True
31 If the DELIMITED BY SIZE phrase is used with STRING verb, the transfer of characters in to the receiving field stops as soon as a blank is encountered in the sending field
ANS (1) Yes
(2) No 
32 The INSPECT statement can be used to check whether the value in a data name is numeric
ANS (1) True
(2) False
33 In an UNSTRING statement a receiving field receives the characters of the sending field including the delimiter.
ANS (1) True
(2) False
34 If the OVER FLOW option is not used in a STRING statement and the overflow condition occurs, the STRING operation is terminated.
ANS (1) True
(2) False
35 In an UNSTRING statement if a receiving field with PICTURE X(06) receives only two characters from the sending field the remaining four positions will retain their original characters
ANS (1) True
(2) False
36 UNSTRING “ABC” INTO FIELD-1.
Indicate which one of the following is correct.
ANS (1) There will be a syntax error, as the statement does not contain any DELIMITED BY phrase.
(2) There will be a syntax error, as the sending string must be identifier and not a literal.
(3) The statement is correct and after the execution of the statement field-1 will contain the three characters “ABC” from the left-most position and the remaining positions of field-1 will remain unchanged
(4) The statement is correct and after the execution of the statement field-1 will contain the three characters “ABC” from the left-most position and the remaining positions of field-1 will get filled with spaces.
37 Indicate in which of the following, the REPORT NAME does not appear
ANS (1) RD entry
(2) INITIATE statement
(3) SELECT clause
(4) TERMINATE statement
38 Which of the following Report groups must have a data name for its identification.
ANS
(1) REPORT HEADING
(2) REPORT FOOTING
(3) DETAIL
(4) PAGE HEADING
39
Indicate which of the following clause is not allowed in a RD entry
ANS
(1) FIRST DETAIL
(2) LAST DETAIL
(3) CONTROLS
(4) LINE NUMBER
40
Indicate which of the following, performs the initialization of the sum controls, LINE-COUNTER and PAGE-COUNTER to their initial values.
ANS (1) RESET
(2) INITIATE 
(3) VALUE
(4) GENERATE
41 Which of the following is not allowed to assign a value to a data name in a REPORT SECTION
ANS (1) MOVE
(2) TOTAL
(3) SUM
(4) SOURCE
42 A formal parameter name can appear more than once in the USING phrase of the PROCEDURE DIVISION header of the subroutine
ANS (1) True
(2) False 
43 The calling program contains the statement
CALL “RAFF” USING A,B,C. And the PROCEDURE DIVISION header of the called subroutine(called RAFF) is PROCEDURE DIVISION USING C,B,A. Which one of the following gives the correct information about the actual and formal parameters has been connected.
ANS (1) Actual A with Formal A, Actual B with Formal B, Actual C with Formal C.
(2) Actual A with Formal B, Actual B with Formal C, Actual C with Formal A.
(3) Actual A with Formal C, Actual B with Formal B, Actual C with Formal A.
(4) None of the above
44 Identify the incorrect statement
ANS (1) CALL RAF-SUB.
(2) CALL RAF-SUB ON OVER FLOW GO TO MIS-SUB.
(3) CALL RAF-SUB USING PARAM-1.
(4) CALL RAF-SUB USING PARAM-1 UNTIL PARAM-1 >10 
http://techhowdy.com/wp-content/uploads/2018/01/Sample-COBOL-Interview-Questions-and-Answers-for-2018-1024x614.pnghttp://techhowdy.com/wp-content/uploads/2018/01/Sample-COBOL-Interview-Questions-and-Answers-for-2018-150x150.pngDemonInterview Questionsbasic cobol interview questions and answers,cobol 400 interview questions and answers pdf,cobol and jcl interview questions and answers,cobol cics interview questions and answers,cobol db2 interview questions and answers,cobol db2 interview questions and answers for experienced,cobol db2 interview questions and answers pdf,cobol interview questions and answers,cobol interview questions and answers all interview,cobol interview questions and answers cts,cobol interview questions and answers for experienced,cobol interview questions and answers for experienced pdf,cobol interview questions and answers for mainframes,cobol interview questions and answers pdf download,cobol jcl db2 interview questions and answers,cobol questions answers interviews pdf,cobol real time interview questions and answers,cobol technical interview questions and answers,frequently asked interview questions and answers in cobol,ibm cobol interview questions and answers,interview questions and answers for cobol,interview questions and answers in cobol mainframes,interview questions and answers on cobol,interview questions and answers on cobol with pdf,mainframe cobol db2 interview questions and answers,mainframe cobol interview questions and answers for experienced,microfocus cobol interview questions and answersHere is list of most common COBOL Questions and Answers for IBM Interview 2018. These questions are asked by every employer in the year 2018 and the sample answers provide for 2018. Please note these questions and collected from different forums, where recent job seekers have posted these COBOL...Latest technology news