Interview questions

Mainframe interview questions – page 7

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

  1. How to do date validation in rpg?

  2. Which is the DL/I function used in CICS-IMS program?

  3. How can we pass external data to instream procedures

  4. What is the difference between return code and maxcc?

  5. Can we create VSAM file by using IEBGENER?

  6. What do u write in the impact analysis document (i.e, for achange request)

  7. What is quasi-reentrant program?

  8. What hapens when we use CPYF command to copy a LF? On which PF will it be dependent?

  9. How can we know running job is batch or intractive ?

  10. What is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?

  11. WHICH COMMAND WE CAN USE TO UPDATE A PHYSICAL FILE USING C.?

  12. In my job I have 6 steps. Step01,02,03...step06.after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that?

  13. Is it possible to create a join logical file using two joinlogical files ? give exact reason for your answer

  14. What is the main purpose of using file-aid ?

  15. How to resolve sb37,sd37 se37 abends

  16. If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP

  17. We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?

  18. There is a procedure in A.B.PROCS(PROC1) (member name is PROC1)//PROCA...There is a call to a procedure PROCA from a JOB.//STEP01 EXEC PROCA...Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.

  19. How yo view the vsam file?

  20. Suppose there r 10 steps . Out fo which i want to execute 10th, 9th and 8th in reverse order without using IEBEDIT.How can i do that..?

  21. Why do you use Keep and Assume Keywords.

  22. What are the different types of keys in AS400

  23. How to compress the data set

  24. A job has 90 steps i want to execute only step7 and step15

  25. In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?

  26. A job has 150 steps i want to execute only 57th step

  27. My requirement is to empty out a PS file but not to delete. How would I do that. Is there any Utility.

  28. Can we maintain 2 generations with different Lengths in Same GDG ?

  29. .I have 3 jobs A B and C. I want to submit B aftersuccessful completion of A and want to submit C aftersuccessful completion of B. Without using job scheduler orjob queue, how can i do that through CL program?

  30. How many Alternate Indexes you can have on a dataset?

Companies that ask Mainframe questions