Please help me with the answers...

All sort of Mainframes Interview Questions.
Post Reply
KavalJeet
Registered Member
Posts: 48
Joined: Wed Jun 19, 2013 9:47 am

Please help me with the answers...

Post by KavalJeet »

These are the questions I've been asked in a recent interview:
  • How to eliminate the duplicate records in a file using JCL?
  • Can we call one catalog proc to another catalog proc, if yes how can we do that?
  • when we get SE37,SB37,SD37?
  • What is the purpose of the IEBEDIT utility?
  • What is the record length for the following program

    Code: Select all

    05 emp-table occurs 15 times
    10 emp-name pic x(10)
    10 emp-no pic s9(05)comp
    10 emp-salary pic s9(9)V99 comp-3.
  • Which is efficient and faster search or search all?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Please help me with the answers...

Post by Robert Sample »

- Using SORT allows you to remove duplicate records
- One procedure can invoke another procedure, but overrides in the nested procedure are not allowed
- x37 abends are disk data set space problems; the fix will depend upon the specific problem
- IEBEDIT is used to copy JCL and include / omit steps during the copy
- 10 bytes + 4 bytes for the binary + 6 bytes for the packed decimal is 20 bytes per occurrence times 15 occurrences is 300 bytes; the answer would be different if SYNC were specified
- SEARCH is faster up to roughly 50 (to 100) records; after that, binary search (SEARCH ALL) will be faster
User avatar
Anuj Dhawan
Founder
Posts: 2799
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: Please help me with the answers...

Post by Anuj Dhawan »

KavalJeet,

Robert has been kind enough to provide you with answers, however, for interview questions it's advisable to share your answers first and then seek for some help. That way it becomes a two way communication and other can also learn from it.

Good Luck for future interviews, :)
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
KavalJeet
Registered Member
Posts: 48
Joined: Wed Jun 19, 2013 9:47 am

Re: Please help me with the answers...

Post by KavalJeet »

Thanks Robert.

Anuj, I'll keep this in mind. Thank you.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”