Legato Mainframe Interview questions

Legato Mainframe Interview questions Hyderabad

Below are the few interview questions that have been asked in a recently in first round at Legato Health care, Hyderabad

– Can we access the VSAM file only with the alternative index?

– Where in cobol program alternative index would be mentioned?

– I have 3 JOBS which are running parallel and updating a single table. How to control the concurrency issue here?

– In a Db2 table, I have 10 rows and I want to compare each of the record with the remaining records. How to achieve this?

– I have file which has some number of records and I want to count the number of records and write it at the last as a trailer.How can this be achieved?

– In a file, I want to replace all the low values with spaces. How this can be achieved?

– IN a file, I have records as below
1
2
2
3
4
4
4
5
5
6

And I need the output with the records that are duplicate
2
4
6

– I have file with records having First Name and Title as below
MAHENDER JR
MAHENDER SR
REDDY DR
GUDURI SR
Requirement is to get the records that are with JR into a file, SR into another file etc. How this can be achieved in JCL?

If anyone has any more please share it via comments.

Leave a Reply

Your email address will not be published. Required fields are marked *

Bitnami