Page 1 of 1

Please help me with the answers...

Posted: Mon Jul 01, 2013 7:16 pm
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?

Re: Please help me with the answers...

Posted: Mon Jul 01, 2013 7:37 pm
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

Re: Please help me with the answers...

Posted: Tue Aug 06, 2013 5:37 pm
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, :)

Re: Please help me with the answers...

Posted: Sun Mar 16, 2014 9:45 am
by KavalJeet
Thanks Robert.

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