Filter interviews by
To add the 10th additional record in a file using a Cobol program, you would need to read the file sequentially and write the new record at the appropriate position.
Read the file sequentially until you reach the 9th record
Write the 10th record at the current position in the file
Update the file with the new record
No, SQLCA EXEC SQL is not mandatory for Mainframe Developer.
SQLCA EXEC SQL is not mandatory but can be used for error handling and status checking in COBOL programs.
It is used to retrieve information about the most recent SQL operation.
Developers can choose to use SQLCODE and SQLSTATE instead of SQLCA EXEC SQL.
To check if a file is empty, you can use file size or read the file and check for any content.
Check the file size using system functions like stat() or file length property
Read the file and check if there is any content present
Use file handling functions to determine if the file is empty
To read a file with different record structures, use a combination of file parsing techniques and data manipulation.
Identify the record structure of each section in the file
Use conditional logic to parse each record based on its structure
Implement error handling for unexpected record structures
Utilize tools like regular expressions or custom parsing functions
Consider using libraries or frameworks that support flex...
To resolve division by zero error, check for zero before performing division operation.
Check if the denominator is zero before performing division operation
Handle the error by displaying a message or returning a default value
Use conditional statements or try-catch blocks to prevent division by zero
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.
To increase performance of a COBOL program using multiple cursors, consider optimizing the SQL queries, reducing the number of cursors, and using efficient data structures.
Optimize SQL queries to retrieve only necessary data
Reduce the number of cursors by combining multiple queries into one
Use efficient data structures like arrays or tables to store and manipulate data
Avoid unnecessary looping and processing within cur...
To resolve division by zero error, check for zero before performing division operation.
Check if the denominator is zero before performing division operation
Handle the error by displaying a message or returning a default value
Use conditional statements or try-catch blocks to prevent division by zero
Abend the program by moving error code to Return code
To abend the program, set the return code to a non-zero value indicating an error
This can be done using a conditional statement to check for errors and then setting the return code accordingly
For example, in COBOL, you can use the ACCEPT statement to move the error code to the return code
To check if a file is empty, you can use file size or read the file and check for any content.
Check the file size using system functions like stat() or file length property
Read the file and check if there is any content present
Use file handling functions to determine if the file is empty
To read a file with different record structures, use a combination of file parsing techniques and data manipulation.
Identify the record structure of each section in the file
Use conditional logic to parse each record based on its structure
Implement error handling for unexpected record structures
Utilize tools like regular expressions or custom parsing functions
Consider using libraries or frameworks that support flexible ...
No, SQLCA EXEC SQL is not mandatory for Mainframe Developer.
SQLCA EXEC SQL is not mandatory but can be used for error handling and status checking in COBOL programs.
It is used to retrieve information about the most recent SQL operation.
Developers can choose to use SQLCODE and SQLSTATE instead of SQLCA EXEC SQL.
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.
Use the COND parameter in the JCL to prevent job abend when subscript limit is reached.
Use COND parameter in JCL to check for subscript limit before executing subsequent steps
Set COND parameter to check for specific return code when subscript limit is reached
Add a condition to bypass subsequent steps if subscript limit is exceeded
To add the 10th additional record in a file using a Cobol program, you would need to read the file sequentially and write the new record at the appropriate position.
Read the file sequentially until you reach the 9th record
Write the 10th record at the current position in the file
Update the file with the new record
Top trending discussions
I applied via Company Website and was interviewed before Oct 2020. There were 4 interview rounds.
I applied via Campus Placement
Developed a web-based attendance management system and a mobile app for event management.
Created a database schema and implemented CRUD operations using PHP and MySQL.
Designed the user interface using HTML, CSS, and JavaScript.
Integrated Google Maps API for location tracking in the mobile app.
Implemented push notifications using Firebase Cloud Messaging.
Collaborated with a team of four to complete the projects within t...
I applied via Campus Placement
Crafting SQL queries requires understanding the database schema and the specific requirements of the task.
Understand the database schema: Know the tables, columns, and relationships.
Identify the requirements: Determine what data is needed based on the instance provided.
Write the SQL query: Use SELECT, JOIN, WHERE, and other clauses as necessary.
Test the query: Run the query to ensure it returns the expected results.
Being assigned a project with unrealistic deadlines and minimal guidance
Received a project with tight deadlines and unclear requirements
Struggled to meet the deadlines due to lack of guidance and support
Had to work long hours and weekends to try to complete the project
Learned the importance of clear communication and setting realistic expectations
I applied via Job Portal and was interviewed before Feb 2021. There were 2 interview rounds.
I appeared for an interview in Dec 2020.
Tip 1 : Master Your Data Structures and Algorithm, solving Leetcode, Geeksforgeeks, having a great solved count is not that important. Just make sure, you are comfortable.
Tip 2 : Master Your Data Structures and Algorithm, if you think, you are done, try reading more about competietive programming topics at https://cp-algorithms.com/
Tip 3 : Have at least 2 Good Project, That would be an advantage
Tip 1 : Try to complete in 1 page, without reducing the beauty. Show atleast 2 project, 2 hackathons, 1 internship, and your achivement.
Tip 2 : Be honest. Copying something from github, isn't a great idea. You can do, but please work in it. Spend 1 week reading that code, and try implementing that project by yourself, and then put into the resume.
I appeared for an interview before Sep 2020.
Round duration - 150 minutes
Round difficulty - Medium
For MCQ Round, we have 2 rounds:-
1. Logical Reasoning (Window of 4 hours)
2. Mathematical Reasoning(Window of 4 hours)
The environment was fine. They gave an option of attempting a mock test in order to familiarize us with the environment
Logical Reasoning, in which there were 12 questions, and for each question we had a time limit of 75 seconds. There was a cut-off of 40 for the next round, and people who qualified were sent an e-mail with a link to continue with the process.
Numerical Reasoning, in my opinion, was the most challenging round. The questions were in a pair of 3 in which a table/bank statement was given and 3 questions were based on that. The questions were purely based on calculations and semi-subjective. The time given for the 1st question was 90 seconds and for the rest 2 questions, 75 seconds each
For Coding Round,
120 minutes window(Test was of 90 minutes)
We have two questions
For the first question(30 Minutes)
For the second question(60 Minutes)
The tricky thing was we only had one attempt, i.e we were allowed to submit the solution only once.
Given an array of integers with numbers in random order, write a program to find and return the number which appears the most frequently in the array.
If multip...
Find the number with the highest frequency in an array, returning the first one in case of ties.
Count Frequencies: Use a hash map to count occurrences of each number in the array.
Track First Occurrence: Store the index of the first occurrence of each number to resolve ties.
Iterate Efficiently: Loop through the array once to build the frequency map and another pass to determine the maximum frequency.
Example: For input [...
Mike, a little boy who loves solving math problems, was playing with his mom's mobile phone. The mobile keypad includes 12 buttons: 10 digit buttons (0-9) and 2 non-digit...
Mike can generate unique numbers by pressing mobile keypad buttons, following specific rules for adjacent presses.
Button Press Rules: Mike can press the same button or an adjacent one after the initial press.
Initial Choices: For N=1, he can choose any of the 10 digits (0-9), resulting in 10 unique numbers.
Adjacent Button Logic: For N=2, starting from any digit, he can press the same or adjacent digits, leading to 36 co...
Round duration - 40 minutes
Round difficulty - Medium
The timing was around 1 pm and the whole interview went for about 40 minutes.
The interviewer first went through my resume and asked me to introduce myself. After my introduction, he asked me about my projects mentioned in the resume. In the introduction itself, I told him that I am interested in competitive programming and preparing for ICPC. He then asked me about my preparation for ICPC. He then asked me some questions from OOPS. I was then asked 1 simple CP problem. The interviewer also asked about situation-based problems. As I previously mentioned about Competitive Programming, he asked how this will help in adding value to the company.
You are given an array of integers. The task is to remove all duplicate elements and return the array while maintaining the order in which the elements were provided.
The task is to remove duplicates from an array while preserving the original order of elements.
Use a set to track seen elements and a list to store the result, ensuring duplicates are skipped.
Example: For input [1, 2, 2, 3, 1], the output should be [1, 2, 3].
Iterate through the array, adding elements to the result list only if they haven't been seen before.
This approach maintains the order of first occurrences of each ...
Round duration - 10 minutes
Round difficulty - Easy
In this round interviewer basically asked about my project in detail and also asked about various technologies used in that project.
Round duration - 10 minutes
Round difficulty - Easy
We were asked about family background, location of the intern, any interest in startups (as they don’t want students who they hire also work with startups side by side), etc.
Tip 1 : Solve as many questions as possible
Tip 2 : Focus on Communication Skills
Tip 3 : Spend some time on resume building
Tip 4 : Give some mock interviews
Tip 5 : Read others experiences as it will give you an idea about the whole interview process
Tip 6 : Learn from failures and try not to repeat the same mistakes in the future
Tip 7 : Most importantly enjoy the process
Tip 1 : Should not exceed 1 page
Tip 2 : Put only those things which you are confident that you can answer anything
Tip 3 : Have some projects on your resume
Tip 4 : Select the template of your resume based on its readability
Tip 5 : Put things on your resume in a systematic manner(Don't create a mess)
Tip 6 : Take a look at other selected resumes as it will give an idea on what basis companies accept or reject the resumes
Some of the top questions asked at the Deutsche Bank Mainframe Developer interview -
based on 1 interview experience
Associate
5.2k
salaries
| ₹8 L/yr - ₹33.6 L/yr |
Senior Analyst
4k
salaries
| ₹4 L/yr - ₹17 L/yr |
Assistant Vice President
3.9k
salaries
| ₹16.5 L/yr - ₹48.4 L/yr |
Analyst
2.2k
salaries
| ₹3 L/yr - ₹13 L/yr |
Vice President
938
salaries
| ₹31.4 L/yr - ₹94 L/yr |
Barclays
JPMorgan Chase & Co.
Kotak Mahindra Bank
AU Small Finance Bank