Cobol

Skill
Programming Language

Top 10 Cobol Interview Questions and Answers 2025

10 questions found

Updated 4 Nov 2024

Q1. how many ways data pass jcl to cobol program ?

Ans.

Data can pass from JCL to COBOL program in multiple ways, such as through input files, system symbols, and program parameters.

  • Input files: Data can be passed to a COBOL program through input files specified in the JCL.

  • System symbols: JCL can define system symbols that can be accessed by the COBOL program to retrieve data.

  • Program parameters: JCL can pass parameters to the COBOL program, which can be used to receive data.

  • Environment variables: JCL can set environment variables ...read more

View 3 more answers
Frequently asked in

Q2. DESCRIBE ABOUT COBOL FORMAT?

Ans.

COBOL format is a programming language used for business applications, known for its readability and use of English-like syntax.

  • COBOL uses a fixed-format layout with specific columns for different elements of the program.

  • Columns 1-6 are for sequence numbers, 7-72 for code, and 73-80 for comments.

  • Statements are written in a structured manner using verbs, nouns, and clauses.

  • COBOL programs are divided into divisions, sections, paragraphs, and sentences.

  • Example: DISPLAY 'Hello, W...read more

Add your answer
Frequently asked in

Q3. what is cobol in mainframe?

Ans.

COBOL (Common Business-Oriented Language) is a high-level programming language used primarily for business, finance, and administrative systems on mainframe computers.

  • COBOL is one of the oldest programming languages, designed in the late 1950s.

  • It is known for its readability and self-documenting code.

  • COBOL is still widely used in legacy systems, especially in the financial and government sectors.

  • Example: COBOL programs are often used for processing large volumes of data in ba...read more

Add your answer
Frequently asked in

Q4. How will you give data from Cobol to JCL ?

Ans.

Data from Cobol can be passed to JCL using file handling techniques like writing data to a dataset or passing parameters through PROCs.

  • Use file handling techniques to write data from Cobol program to a dataset that can be accessed by JCL.

  • Pass parameters from Cobol program to JCL using PROCs.

  • Use symbolic parameters in JCL to reference data from Cobol programs.

Add your answer
Are these interview questions helpful?

Q5. What is Cobol? Structure of Cobol?

Ans.

COBOL is a high-level programming language used primarily for business applications.

  • COBOL stands for Common Business-Oriented Language.

  • It was designed in 1959 by CODASYL and is still widely used in legacy systems.

  • COBOL programs are divided into four divisions: Identification, Environment, Data, and Procedure.

  • It uses English-like syntax and is known for its readability and self-documenting code.

  • Example: DISPLAY 'Hello, World!'

Add your answer
Frequently asked in

Q6. What are the ways to pass data to COBOL through JCL?

Ans.

Data can be passed to COBOL through JCL using SYSIN DD statement, PARM parameter, and environment variables.

  • Use SYSIN DD statement to pass data to COBOL program

  • Pass data using PARM parameter in JCL

  • Set environment variables in JCL to pass data

Add your answer
Frequently asked in
Share interview questions and help millions of jobseekers 🌟

Q7. What is JCL cobol

Ans.

JCL (Job Control Language) is used to instruct the mainframe operating system on how to run batch jobs, while COBOL is a programming language commonly used for business applications on mainframes.

  • JCL is used to define and control jobs on mainframe systems

  • COBOL is a programming language commonly used for business applications on mainframes

  • JCL is often used to call COBOL programs as part of batch processing

Add your answer
Frequently asked in

Q8. Tell me about Cobol basics.

Ans.

COBOL is a high-level programming language used for business applications on mainframe computers.

  • COBOL stands for Common Business-Oriented Language.

  • It was designed in 1959 by CODASYL and is primarily used in finance, insurance, and government sectors.

  • COBOL programs are divided into four divisions: Identification, Environment, Data, and Procedure.

  • It uses English-like syntax and is known for its readability and self-documenting nature.

  • Example: DISPLAY 'Hello, World!'

Add your answer
Frequently asked in

Cobol Jobs

Industry Consultant: Industry.Banking 3-8 years
IBM India Pvt. Limited
4.1
Pune
Lead Software Engineer - Mainframe 5-10 years
JPMorgan Chase
4.1
Hyderabad / Secunderabad
Compiler Developer 5-10 years
IBM India Pvt. Limited
4.1
Hyderabad / Secunderabad

Q9. How to accept parm parameter in cobol . Tell the structure of declaration in cobol

Ans.

In COBOL, parm parameters can be accepted using the ACCEPT statement. The declaration structure includes the PICTURE clause.

  • Use ACCEPT statement to accept parm parameter in COBOL

  • Declare parm parameter using PICTURE clause in COBOL

  • Example: ACCEPT parm-parameter

  • Example: 01 parm-parameter PIC X(10)

Add your answer
Frequently asked in

Q10. Types of call in cobol

Ans.

Types of call in COBOL include internal, external, and intrinsic calls.

  • Internal calls are made within the same program or module.

  • External calls are made to other programs or modules.

  • Intrinsic calls are built-in functions provided by the COBOL compiler.

  • Examples: CALL statement for external calls, INVOKE statement for intrinsic calls.

Add your answer
Frequently asked in
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview Questions of Cobol Related Designations

Interview experiences of popular companies

3.7
 • 10.2k Interviews
3.9
 • 8k Interviews
3.7
 • 7.5k Interviews
3.7
 • 5.5k Interviews
3.9
 • 2.8k Interviews
4.1
 • 2.3k Interviews
4.0
 • 756 Interviews
3.9
 • 357 Interviews
3.8
 • 131 Interviews
View all
Cobol Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter