Interview questions

Mainframe interview questions – page 9

276 questions. Tap “Show answer” to check yourself.

  1. What is the drawback of vsam dataset?a.execution slow.b.free space.c.independent storage device.d.none of the above.let me know the answer with reason.

  2. Cursor with hold explain ?

  3. 1.What is the difference between regular join logical file and non join logical file?2.what are the nessasary keywords for non join logical file

  4. What is the difference between vsam and dataset how do u create vsam dataset which file you r used?

  5. How to pass numeric parameter to the rpg pgm from the command line?

  6. If the number of parameter is more than the expected then NAT0919 error is displayed. How many parameter are allowed in a CALL and CALLNAT statement?

  7. What's the biggest disadvantage of using a VSAM dataset?

  8. Oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

  9. How can i check the object existance in RPG program without using QCMDEXC command.

  10. If you give cylinder(1,1)how many cylinders it will be allocate?

  11. What is the difference between Null compression and default compression?

  12. I have one physical file which is having two logical files. logical a have unique keyword and logical b doesnt have a unique keyword. can i give duplicate values while updating through physical file. if no why?

  13. I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

  14. How to pass instream data in sysin with Assembler?

  15. What is difference between Bind by copy and bind by reference?

  16. Control variable in online screens

  17. Write a logic program for knowing the repeated number of avowels in a given program?

  18. What is the difference b/w sequential and ESDS

  19. Without logical file we cannot access the data in physicalfile.but we specify physical file in the program(ie:- FfileIF E k disk).how can it be accessed?

  20. What is s013u000 for?

  21. If my rpg program has a date field, What extra care Ihave to take while compiling that RPG program?2. If the file is keyed and I have declared the file as wellas Key list properly in my program. Still am getting anerror message like "Chain/reade operation is not allowed"What may be the case?

  22. I want to enter the name 'pandu' into ur table how?

  23. One physical file can have how many max of logical files?what is the primary file?

  24. Why we cannot call a service program? If I add a PEP can icall the service program?

  25. If login Screen has been modified by adding current date to be displayed.What Step to be followed to Keep that date as Current date Note: If no steps taken then it will display only the compilation date

  26. What is need of START 0?. In steed of '0' can we use anyother numerics?. if we use what will happen?.

  27. What are the commands that can be executed in CLP but not inRPG? Why?

  28. What is the intractive job? what is the batch job ?how to change the batch job to interactive job?

  29. What is primary file? How many primary file can be declaredin a RPG program?

  30. How to handle job errors in as400what is the command and where can we find out whether the job has any errors

Companies that ask Mainframe questions