Mainframe Interview Questions and Answers

IBM mainframes interview questions part 1

1.Q:How do we describe Static Call and Dynamic Call?

A: The difference between Static and Dynamic Call is that the first has the invoking program name hard coded into the call statement while the second has it in storage in an identifier. Also in the case of Static the invoking program is link edited with the invoked subroutine and in the case of Dynamic Callwe will have a different module for each: the main program and the subroutine. IF we don’t use Initial or make a Cancel when we invoke the statically called subroutine then it will not be found in the default state; dynamically called routine will be forever in the default state.

2.Q:How do we describe cataloged procedure and an instream procedure?

A: Cataloged procedures are invoked through a specification of the name of the procedure over the Exec statement and cataloged on the library of the procedure. For verifying a procedure prior to becoming a catalog procedure we will use an in-stream procedure.

Instream procedures are similar to catalog procedures but there is a small difference at their execution:for executing them there are required to be placed between the Job statement and the Exec statement and they must be finished with a Pend statement.

3.Q: How are Start and XCTL different?

A: Start is used for the beginning of new transactions and then the XCTL takes the operations further , transferring the control to a different application but with an equal transaction ID.

4.Q: What is the meaning, the advantages and which are the types of evaluate statement?

A: Evaluate statement is a different way for the neste IF statements and it works by choosing from a processing actions list. To replace IF we can use When to find out if an action will be taken. Like IF , When control goes from evaluate to the following statement on the application. The types of evaluate statement are trues and variable-name.

5.Q. What is the meaning of NOTCAT 2?

A: NOTCAT 2 is a MVS message that shows if two or more entries of the same catalog exist. If an entry is already there the catalog would send us an error message. The issue can be repaired by uncataloging or deleting the primary data set and we must find that volume which contains the new data set and we must catalog it.

6.Q:What is the role of the IS NUMERIC clause?

A: IS NUMERIC will be available for alphanumeric, packed decimal, unsigned numeric and signed numeric items. When an item is made of 0 to 9 the value returned by IS NUMERIC is True, if the item is signed then it can have 0 to 9 but also + and -.

7.Q: What sorting order does SEARCH ALL have?

A: The sorting order of SEARCH ALL will be Descending or Ascending, the initial value is Ascending. When we want to switch to Descending  we have to provide the Descending Key clause in the time we define the array which will be sorted; the table has to be loaded in the order stated.

8.Q: What is the right time for using in-line perform?

A:The right time is when the perform body is not used. If it is a type of code that has general means, being utilized in several locations in the program, the code should be met in a different para and not use in-line perform, but perform paraname instead.

9.Q:How can we repair a SOC-7 error?

A:The main thing to do is repairing the problematic data, usually the cause for problems with SOC-7 is a numeric item that is un-initialized, this is the primary concern. Some of the setups give us dumps for run-time abends, this can also be made by invoking OS services or subroutines via the assembly language. The dumps are useful as thei give us the ultimate instruction’s offset where the abend occurred. The output XREF listing of the compilation must be verifiedfor obtaining the line number and the verb of this offset’s source code. After that the bug can be found in the source code. For capturing the runtime dumps, we should define datasets like for instance Sysabout in JCL. When these methods are not working  we must find the error source with judgement and Display. If the setup has debugging utilities, we should make use of them.

10.Q:How can we describe COMP SYNC?

A: COMP SYNC aligns an item to the natural boundaries, it will be synchronized right and left. If we use binary items that are found at the boundaries of words in memory, these ones have a more rapid address resolution. The size of word from mainframe memory is four bytes. So every word has to begin from an address which is divisible by four. When the primary variable is x(3) and the next one is s9(4) comp if the Sync clause is not specified, the second variable will begib from byte 3. When Sync is specified the beginning address will be 4; this more rapid, even if we may notice a little waste of memory.

11.Q: What is the meaning of SSRANGE and NOSSRANGE?

A: These two are options of the compiler for verifying the out of range state for the subscript. The default will be NOSSRANGE and it implies no flagging of run-time errors when the subscript or index is exceeding the permitted range.

12.Q: What difference exists between Control Area and Control Interval?

A: A Control Area is a set of Control Intervals and it works during allocation. The size of the Control Area depends on the type of allocation (cyl, tracks, records) and ots maximum reaches 1 cylinder. The Control Interval is something like a block for QSAM files, its size is ranged between 512 bytes and 32 kilobytes, normally 2 or 4 kilobytes. If the Control Interval is bigger the performance will also increase when it comes to sequential processing.

13.Q: What optimum values can we find for FREESPACE, CI etc?

A: The size of CI  has to depend on the length of the record and the processing type. The normal value is 4 kilobytes but when the length of the record is bigger than 1 kilobyte we have to pick 6 kilobytes or 8 kilobytes. The normal values for FREESPACE are (20 20), when many insertions are made it should be bigger.

14.Q:Can we describe the results of opening for input empty VSAM files in a COBOL program?

A: If the VSAM file didn’t have a record before it will be seen as unavailable and if we try to open it the operation will not succeed. Empty files can just be opened for output, case in which a dummy record will be written by COBOL and the file will be erased.

15.Q: How can we define a GDG?

A: GDG means GenerationDataGroup, for defining it we will write the command DEFINE GENERATIONDATAGROUP. In the IDCAMS step, a different datasethas to be defined and its DCB parameters will be used at the time when new generations are made. This is what we call a model dataset, whose ds name has to be similar to the one of the GDG.

16.Q: What is the meaning of a (NEW, CATLG, KEEP) disposition mean?

A: The meaning is that we have a fresh datasheet and it has to be allocated, the datasheet must be CTLG if all went right but to KEEP and not CTLG the datasheet when all is abended.

This entry was posted in Interview Questions and tagged , . Bookmark the permalink.

126 Responses to Mainframe Interview Questions and Answers

  1. Thanks a lot for sharing this with all of us you actually know what you are talking about! Bookmarked. Kindly also visit my site =). We could have a link exchange contract between us!

  2. Lastly, a challenge that i’m passionate about. I have made an appearance for information with this caliber going back several hours. Your internet site is tremendously valued.

  3. I have been exploring for a little bit for any high quality articles or blog posts on this kind of area . Exploring in Yahoo I finally stumbled upon this web site. Studying this information So i am happy to convey that I have a very excellent uncanny feeling I discovered exactly what I needed. I most definitely will make certain to don’t put out of your mind this web site and provides it a glance a relentless basis.

  4. Great, bing took me stright here. thanks btw for info. Cheers!

  5. Good, this is what I was browsing for in yahoo

  6. Great, bing took me stright here. thanks btw for info. Cheers!

  7. I like, will read more. Cheers!

  8. yopute momde says:

    SOXn9Q Im thankful for the blog article.Much thanks again. Great.

  9. tod as paris Always a great common sense shopping on this place

  10. I think other site proprietors should take this web site as an model, very clean and excellent user genial style and design, as well as the content. You are an expert in this topic!

  11. Helene Kabus says:

    Ha, here from bing, this is what i was browsing for.

  12. motorcycle accident claims Joomla Software vs Dreamweaver Software which one is the best?

  13. Thank you for your article post. Really Great.

  14. Outstanding brief which post helped me alot. Give you thanks I looking for your details?–.

  15. Some genuinely good articles on this internet site, thanks for contribution.

  16. Of course, what a great blog and educative posts, I will bookmark your site.Have an awsome day!

  17. Really appreciate you sharing this blog post.Really thank you!

  18. That is a great tip particularly to those fresh to the blogosphere. Short but very precise information Thank you for sharing this one. A must read article!

  19. Nice post! Also visit my site about Clomiphene Citrate and alcohol

  20. This is a really good tip especially to those new to the blogosphere. Brief but very precise information Appreciate your sharing this one. A must read post!

  21. Thank you ever so for you article post. Really Cool.

  22. This was to protect them from ghosts and demons. Peace,

  23. Thanks-a-mundo for the blog article. Cool.

  24. You made some good points there. I checked on the internet for more info about the issue and found most people will go along with your views on this web site.

  25. is rare to look a great weblog like this one these days..

  26. cosmetic says:

    wonderful issues altogether, you simply gained a new reader. What would you recommend about your publish that you made some days in the past? Any sure?

  27. This is a topic which is close to my heart Thank you! Where are your contact details though?

  28. You created some respectable factors there. I seemed on the net for the problem and located many people will go along with together with your internet site.

  29. Wow, amazing blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is wonderful, as well as the content!

  30. Im no professional, but I believe you just made an excellent point. You obviously know what youre talking about, and I can actually get behind that. Thanks for staying so upfront and so honest.

  31. Looking forward to reading more. Great blog article.Thanks Again. Keep writing.

  32. Phuket Legal says:

    It as really a great and helpful piece of information. I am glad that you shared this useful information with us. Please keep us up to date like this. Thank you for sharing.

  33. Great, yahoo took me stright here. thanks btw for post. Cheers!

  34. FirstLesli says:

    I have noticed you don’t monetize your website, don’t waste your traffic, you
    can earn extra bucks every month because you’ve got hi quality content.
    If you want to know how to make extra money, search for: Mrdalekjd
    methods for $$$

  35. Modular Kitchens have changed the very idea of kitchen nowadays since it has provided household females with a comfortable yet a classy place in which they may invest their quality time and space.

  36. Very good article! We will be linking to this particularly great post on our site. Keep up the good writing.

  37. WONDERFUL Post. thanks pertaining to share.. more wait around..

  38. It as fantastic that you are getting thoughts from

  39. Thanks for the news! Just was thinking about it! By the way Happy New Year to all of you:DD

  40. iPhone 6s says:

    Im no pro, but I feel you just crafted an excellent point. You certainly understand what youre talking about, and I can really get behind that. Thanks for staying so upfront and so truthful.

  41. Some genuinely prime content on this web site , saved to bookmarks.

  42. 420 delivery says:

    Some really good content on this site, appreciate it for contribution.

  43. Really enjoyed this blog.Really looking forward to read more.

  44. Wow! Thank you! I permanently wanted to write on my blog something like that. Can I implement a portion of your post to my website?

  45. Very good information. Lucky me I came across your blog by accident (stumbleupon). I ave book-marked it for later!

  46. Great, thanks for sharing this blog.Much thanks again. Will read on…

  47. I used to be able to find good info from your blog articles.

  48. Wow, amazing blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is wonderful, as well as the content!

  49. You made several nice points there. I did a search on the issue and found most people will go along with with your blog.

  50. wow, awesome blog post.Thanks Again. Will read on

  51. appstudio says:

    Thanks for sharing this great piece. Very inspiring! (as always, btw)

  52. just beneath, are quite a few totally not connected web-sites to ours, even so, they may be surely really worth going over

  53. This is a great tip especially to those fresh to the blogosphere. Short but very precise information Appreciate your sharing this one. A must read post!

  54. Spot on with this write-up, I actually suppose this website needs far more consideration. I all in all probability be once more to read way more, thanks for that info.

  55. free book says:

    Really appreciate you sharing this article.Really thank you! Want more.

  56. Kati says:

    Sent the first post, but it wasn`t published. I am writing the second. It as me, the African tourist.

  57. Shane says:

    Im obliged for the blog.Really thank you! Awesome.

  58. Shane says:

    This is a topic that is close to my heart Cheers! Where are your contact details though?

  59. cialis says:

    This paragraph regarding SEO presents clear idea designed for new SEO visitors that how to do SEO, therefore keep it up. Pleasant work

  60. Obtb Shoes says:

    I truly appreciate this blog post. Cool.

  61. Thanks so much for the blog post.Really thank you! Cool.

  62. Dayton says:

    I really liked your blog post.Really thank you! Much obliged.

  63. It as onerous to search out educated individuals on this topic, however you sound like you know what you are speaking about! Thanks

  64. Wow, great blog.Really looking forward to read more. Really Cool.

  65. Quite right! It There is apparently a lot to realize about this. I suppose you made some good points in features also.

  66. You got a very superb website, Gladiolus I detected it through yahoo.

  67. Very neat post.Much thanks again. Keep writing.

  68. I relish, lead to I found just what I used to be having a look for. You have ended my four day long hunt! God Bless you man. Have a nice day. Bye

  69. MARIHUANA says:

    Very good article! We are linking to this particularly great content on our website. Keep up the good writing.

  70. Very interesting subject , thanks for posting.

  71. You created various good points there. I did a search on the topic and discovered a lot of people will have the same opinion together with your weblog.

  72. teeth white says:

    This is one awesome blog article.Really looking forward to read more. Great.

  73. What blogging website had the least invasive ads for free-account users?. Or what blogging website is best for someone looking to start a professional literary blog?.

  74. Way cool! Some extremely valid points! I appreciate you penning this article and also the rest of the website is very good.

  75. yay google is my king assisted me to find this outstanding website !.

  76. For mac says:

    Hi, glad that i saw on this in google. Thanks!

  77. seem to be running off the screen in Opera.

  78. Muchos Gracias for your article post.Thanks Again. Really Great.

  79. just wondering if you get a lot of spam responses? If so how

  80. Thankyou for this grand post, I am glad I observed this internet site on yahoo.

  81. Your style is so unique in comparison to other people I have read stuff from. Thank you for posting when you ave got the opportunity, Guess I all just book mark this site.

  82. indo video says:

    Perfectly written content, thanks for selective information.

  83. This is one awesome blog article.Really looking forward to read more. Really Great.

  84. If you are ready to watch comical videos online then I suggest you to pay a visit this web page, it includes in fact so humorous not only movies but also additional data.

  85. Im thankful for the article post.Thanks Again.

  86. Loving the article.. thanks for your insight Value the admission you delivered.. My web searches seem complete.. thank you. of course, analysis is paying off.

  87. Wow! Thank you! I permanently needed to write on my blog something like that. Can I implement a fragment of your post to my site?

  88. This is a great resource. Ill visit again.

  89. Fitness blog says:

    Your idea is outstanding; the issue is something that not enough persons are speaking intelligently about. I am very happy that I stumbled throughout this in my seek for one thing regarding this.

  90. This website was how do you say it? Relevant!! Finally I ave found something which helped me. Appreciate it!

  91. Gym Guide says:

    It as really a great and helpful piece of info. I am glad that you shared this helpful info with us. Please keep us up to date like this. Thank you for sharing.

  92. Please permit me understand in order that I may just subscribe. Thanks.

  93. I really liked your post.Much thanks again. Really Great.

  94. Say, you got a nice blog.Thanks Again. Fantastic.

  95. Gym Expert says:

    This is a good tip especially to those new to the blogosphere. Short but very precise info Many thanks for sharing this one. A must read post!

  96. It as exhausting to find knowledgeable individuals on this topic, however you sound like you already know what you are speaking about! Thanks

  97. rc modely says:

    I was recommended this blog by my cousin. I am not sure whether this post is written by him as no one else know such detailed about my problem. You are amazing! Thanks!

  98. matter to be really one thing that I think I might never understand.

  99. This particular blog is obviously entertaining and also diverting. I have chosen helluva helpful advices out of this amazing blog. I ad love to come back over and over again. Thanks a bunch!

  100. You ave made some decent points there. I looked on the internet for more information about the issue and found most people will go along with your views on this web site.

  101. Full Report says:

    wow, awesome post.Much thanks again.

  102. In the great I always visit your blog everyday to read new topics.,:~-~

  103. sletrokor says:

    Muchos Gracias for your blog post.Really thank you!

  104. Good Morning, yahoo lead me here, keep up great work.

  105. dispensary says:

    Wow, great blog post.Really looking forward to read more. Will read on

  106. You are my inspiration, I have few blogs and rarely run out from post . Analyzing humor is like dissecting a frog. Few people are interested and the frog dies of it. by E. B. White.

  107. is the greatest. my homepage Uggs Cyber Monday Deals

  108. This is really interesting, You are a very skilled blogger. I ave joined your feed and look forward to seeking more of your fantastic post. Also, I have shared your website in my social networks!

  109. Whats up. Very cool blog!! Man.. Excellent.. Amazing.. I all bookmark your website and take the feeds alsoI am glad to find numerous useful information here in the post. Thank you for sharing

  110. I enjoying, will read more. Thanks!

  111. timber says:

    Very interesting subject, thanks for posting.

  112. Uber code says:

    You made a few nice points there. I did a search on the topic and found the majority of folks will go along with with your blog.

  113. friv says:

    Last week I dropped by this web site and as usual wonderful content material and ideas. Like the lay out and color scheme

  114. Your web site is really useful. Many thanks for sharing. By the way, how could we keep in touch?

  115. VigRx Plus says:

    Thanks a lot for the blog article. Want more.

  116. some truly wonderful information, Gladiolus I discovered this.

  117. I think other site proprietors should take this website as an model, very clean and great user friendly style and design, as well as the content. You are an expert in this topic!

  118. Wow! This blog looks closely in the vein of my older one! It as by a absolutely different topic but it has appealing a great deal the similar blueprint and propose. Outstanding array of colors!

  119. Very neat blog.Thanks Again. Really Cool. here

  120. Im thankful for the article.Thanks Again. Keep writing.

  121. Health Blog says:

    Some really nice stuff on this website , I enjoy it.

  122. Well I definitely enjoyed reading it. This tip procured by you is very effective for proper planning.

  123. Your positions continually have got many of really up to date info. Where do you come up with this? Just declaring you are very creative. Thanks again

  124. hilti says:

    Thanks for sharing, this is a fantastic blog post.Thanks Again. Cool.

Leave a Reply

Your email address will not be published.