Premium Employer

Infosys

3.6
based on 39k Reviews
Filter interviews by

10+ CapGrid Solutions Interview Questions and Answers

Updated 5 Feb 2025
Popular Designations

Q1. What is the difference between comp comp3

Ans.

comp and comp3 are data types used in mainframe programming.

  • comp is a binary data type that uses one byte for each digit.

  • comp3 is a packed decimal data type that uses half a byte for each digit.

  • comp3 is more space-efficient but requires additional processing for arithmetic operations.

  • comp3 can store both positive and negative numbers, while comp can only store positive numbers.

View 3 more answers

Q2. What is a cursor in the context of databases, and what purposes does it serve?

Ans.

A cursor in databases is a pointer that allows for traversal and manipulation of query results.

  • A cursor is used to retrieve and process individual rows returned by a query.

  • It allows for sequential access to query results, enabling operations like fetching, updating, and deleting rows.

  • Cursors are commonly used in programming languages like SQL to work with result sets.

  • For example, in a banking application, a cursor can be used to iterate through a list of customer transactions...read more

Add your answer

Q3. What is the difference between static and dynamic calls?

Ans.

Static calls are resolved at compile time, while dynamic calls are resolved at runtime.

  • Static calls are resolved at compile time based on the declared type of the object being called.

  • Dynamic calls are resolved at runtime based on the actual type of the object being called.

  • Static calls are faster but less flexible, while dynamic calls are slower but more flexible.

  • Example: In a static call, the method to be called is determined by the compiler. In a dynamic call, the method to ...read more

Add your answer

Q4. How can null variables be handled in COBOL DB2 programs?

Ans.

Null variables in COBOL DB2 programs can be handled using NULL indicators and COALESCE function.

  • Use NULL indicators to check if a variable is null before processing it.

  • Use COALESCE function to replace null values with a default value.

  • Handle null variables carefully to avoid runtime errors.

Add your answer
Discover CapGrid Solutions interview dos and don'ts from real experiences

Q5. What is the waterfall model in software development?

Ans.

The waterfall model is a linear sequential software development process where progress flows in one direction like a waterfall.

  • Involves distinct phases such as requirements, design, implementation, testing, and maintenance.

  • Each phase must be completed before moving on to the next phase.

  • Changes are difficult to implement once a phase is completed.

  • Example: Traditional software development approach where requirements are gathered first, followed by design, coding, testing, and d...read more

Add your answer

Q6. How to get control over job execution?

Ans.

Control over job execution can be achieved through job scheduling, monitoring, and automation.

  • Use job scheduling tools like Control-M or CA Workload Automation to manage job execution.

  • Monitor job progress and status using tools like IBM Tivoli Monitoring or Nagios.

  • Automate job execution and error handling with scripts or custom programs.

  • Implement job dependencies to ensure proper sequencing and execution.

  • Set up alerts and notifications for job failures or delays.

Add your answer
Are these interview questions helpful?

Q7. Which methodology is your using ?

Ans.

I am using Agile methodology for software development.

  • Agile methodology focuses on iterative development and collaboration between cross-functional teams.

  • It emphasizes adaptability to changes in requirements and continuous improvement.

  • Examples of Agile practices include Scrum, Kanban, and Extreme Programming (XP).

Add your answer

Q8. What is diff between index and subscript

Ans.

Index is the position of an element in an array, while subscript is the variable used to access elements in an array.

  • Index is a fixed value that represents the position of an element in an array.

  • Subscript is a variable that is used to access elements in an array.

  • Example: arr[2] - '2' is the index, while '2' is the subscript.

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

Q9. What is the Agile framework?

Ans.

Agile framework is a project management approach that emphasizes flexibility, collaboration, and incremental development.

  • Agile framework involves breaking down projects into smaller tasks called sprints

  • It promotes frequent communication and collaboration among team members

  • Allows for flexibility and adaptability to changes in requirements

  • Examples of Agile frameworks include Scrum, Kanban, and Extreme Programming

Add your answer

Q10. what is explanation for SPUFI

Ans.

SPUFI stands for SQL Processing Using File Input. It is a tool used to execute SQL queries in DB2 databases.

  • SPUFI is a menu-driven tool provided by IBM for executing SQL queries in DB2 databases.

  • It allows users to interactively execute SQL queries and view the results.

  • SPUFI can be used to test SQL statements before embedding them in application programs.

  • It is commonly used by developers and database administrators for ad-hoc querying and testing.

  • Example: Using SPUFI, a develo...read more

Add your answer

Q11. Abend SOC4 how to resolve

Ans.

Abend SOC4 is a system completion code indicating a protection exception error in a mainframe program.

  • Check for invalid data or address in the program

  • Review the program logic for any potential issues

  • Ensure proper handling of data and memory allocation

  • Use debugging tools like IPCS to analyze the error

Add your answer

Q12. Differentiate between Comp vs Comp3

Ans.

Comp is a binary data type with fixed length, while Comp3 is a packed decimal data type with variable length.

  • Comp is binary and fixed length, while Comp3 is packed decimal and variable length

  • Comp stores data in binary format, while Comp3 stores data in packed decimal format

  • Comp uses 4 bytes for each field, while Comp3 uses variable length depending on the precision required

  • Example: Comp field with value 1234 will be stored as x'00000004D2' in hexadecimal, while Comp3 field wi...read more

Add your answer

Q13. Types of utilities in mainframe

Ans.

Mainframe utilities are software programs used for various tasks like data management, job scheduling, and system maintenance.

  • IEFBR14 - used for creating empty datasets

  • IEBCOPY - used for copying datasets

  • IEBGENER - used for generating datasets

  • IDCAMS - used for defining and managing VSAM datasets

  • DFSORT - used for sorting and merging datasets

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at CapGrid Solutions

based on 7 interviews
2 Interview rounds
Technical Round
HR Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Mainframe Developer Interview Questions from Similar Companies

3.7
 • 13 Interview Questions
View all
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

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