Mainframes, MVS, zOS and Related Languages Support Forums Help & Support Forum for and by Mainframe Users 2013-08-14T09:57:05+00:00 http://www.ibm-mainframes.com/feed.php?f=34 2013-08-14T09:57:05+00:00 2013-08-14T09:57:05+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=342&p=859#p859 <![CDATA[Interview Questions. • Re: Can COPY be used in Procedure Division.]]> Statistics: Posted by Robert Sample — Wed Aug 14, 2013 9:57 am


]]>
2013-08-14T05:51:59+00:00 2013-08-14T05:51:59+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=342&p=857#p857 <![CDATA[Interview Questions. • Can COPY be used in Procedure Division.]]>
In a recent interview I'm asked if the COPY statement can be used in Procedure Division Yes/No?

I think we can sue it but what if the member has only a copy-book details? I've heard there are shops which might use COPY to have some "sub-modules" in the main program and there we can make use of COPY? Is that correct?

Please help.

Statistics: Posted by Router — Wed Aug 14, 2013 5:51 am


]]>
2013-08-06T12:07:14+00:00 2013-08-06T12:07:14+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=187&p=753#p753 <![CDATA[Interview Questions. • Re: Please help me with the answers...]]>
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, :)

Statistics: Posted by Anuj Dhawan — Tue Aug 06, 2013 12:07 pm


]]>
2013-08-06T06:29:00+00:00 2013-08-06T06:29:00+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=100&p=742#p742 <![CDATA[Interview Questions. • Re: Are Empty and Scratch mutually exclusive in GDG?]]>

Statistics: Posted by Angel — Tue Aug 06, 2013 6:29 am


]]>
2013-08-03T12:42:04+00:00 2013-08-03T12:42:04+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=100&p=704#p704 <![CDATA[Interview Questions. • Re: Are Empty and Scratch mutually exclusive in GDG?]]> Statistics: Posted by Robert Sample — Sat Aug 03, 2013 12:42 pm


]]>
2013-08-03T04:45:34+00:00 2013-08-03T04:45:34+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=100&p=701#p701 <![CDATA[Interview Questions. • Re: Are Empty and Scratch mutually exclusive in GDG?]]>
But is not it strange to allow such a combination such as EMPTY / SCRATCH...

Statistics: Posted by Akshya Chopra — Sat Aug 03, 2013 4:45 am


]]>
2013-07-26T12:53:02+00:00 2013-07-26T12:53:02+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=256&p=622#p622 <![CDATA[Interview Questions. • Re: We made a Century!!]]> Making Century is a history now -- We made Much More than a Double Century!

script
Most users ever online was 250 on 26 Jul 2013
script 01:01


What are you waiting for -- come get along with this busy community to clear, debate and discuss your doubts on IBM Mainframes, MVS, zOS and related Languages.

Statistics: Posted by Anuj Dhawan — Fri Jul 26, 2013 12:53 pm


]]>
2013-07-26T04:48:11+00:00 2013-07-26T04:48:11+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=295&p=619#p619 <![CDATA[Interview Questions. • "Report This Post" is activated.]]>
The "Report This Post Button" can be found as the first button with exclamation sign ("!"), at bottom right of any post. The pictorial representation is shown below:

Statistics: Posted by Anuj Dhawan — Fri Jul 26, 2013 4:48 am


]]>
2013-07-23T09:37:20+00:00 2013-07-23T09:37:20+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=100&p=567#p567 <![CDATA[Interview Questions. • Re: Are Empty and Scratch mutually exclusive in GDG?]]> AMS for Catalogs manual gives the parameters for DEFINE GENERATIONDATAGROUP and indicates the difference:
Quote:

EMPTY|NOEMPTY Specifies what action is to be taken for the catalog entries for the GDG base when the number of generation data sets in the GDG base is equal to the LIMIT value and another GDS is to be cataloged. The disposition of the actual data sets uncatalogued from the GDG base is determined by the setting of the SCRATCH/NOSCRATCH parameter for the GDG base.

EMPTY remove all GDS entries from GDG base when a new GDS is created that causes the GDG LIMIT to be exceeded. Abbreviation: EMP
NOEMPTY remove only the oldest GDS entry when a new GDS is created that causes GDG LIMIT to be exceeded. Abbreviation: NEMP


SCRATCH|NOSCRATCH Specifies what action is to be taken for a generation data set located on disk volumes when the data set is uncataloged from the GDG base as a result of EMPTY/NOEMPTY processing. For generation data sets located on tape, this parameter has no effect. You can override the SCRATCH|NOSCRATCH attribute when issuing the DELETE command.

SCRATCH The GDS is deleted from all disks it occupies when uncatalogued from the GDG base, regardless of whether it is SMS-managed or not. Abbreviation: SCR
NOSCRATCH If the data set is a non-SMS managed data set it is not removed from any of the volumes it occupies. If the data set is an SMS-managed data set it is recataloged as a non-VSAM data set in rolled-off status, and is no longer associated with the GDG base. It is not deleted from any of the SMS-managed volumes it occupies. Abbreviation: NSCR
So the combination of EMPTY / SCRATCH indicates that when the GDG limit is reached and you attempt to add another generation, you want ALL existing generations removed from the catalog and you want those data sets deleted from the disk drives they are on, as well. These parameters are not mutually exclusive, so both can be used for a GDG.

Statistics: Posted by Robert Sample — Tue Jul 23, 2013 9:37 am


]]>
2013-07-23T07:22:44+00:00 2013-07-23T07:22:44+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=100&p=566#p566 <![CDATA[Interview Questions. • Re: Are Empty and Scratch mutually exclusive in GDG?]]> Statistics: Posted by Angel — Tue Jul 23, 2013 7:22 am


]]>
2013-07-19T19:11:01+00:00 2013-07-19T19:11:01+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=256&p=532#p532 <![CDATA[Interview Questions. • Re: We made a Century!!]]>
Today it is 165!!!

Statistics: Posted by Anuj Dhawan — Fri Jul 19, 2013 7:11 pm


]]>
2013-07-18T05:35:38+00:00 2013-07-18T05:35:38+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=256&p=507#p507 <![CDATA[Interview Questions. • We made a Century!!]]>

We got 121 users online Yesterday, on 17 Jul 2013 at 22:54. You can check that at the bottom of Board Index. This will be shown like this: "Most users ever online was 121 on 17 Jul 2013 22:54".

That's a great achievement.

Thanks for Liking and showing the trust in to the Labor we're putting in, much appreciate that,

Thanks,

Statistics: Posted by Anuj Dhawan — Thu Jul 18, 2013 5:35 am


]]>
2013-07-11T09:52:22+00:00 2013-07-11T09:52:22+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=225&p=415#p415 <![CDATA[Interview Questions. • Re: Index and Subscript?]]> Statistics: Posted by Robert Sample — Thu Jul 11, 2013 9:52 am


]]>
2013-07-11T09:49:06+00:00 2013-07-11T09:49:06+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=224&p=414#p414 <![CDATA[Interview Questions. • Re: What is the difference between SECTION and Paragraph?]]> Statistics: Posted by Robert Sample — Thu Jul 11, 2013 9:49 am


]]>
2013-07-11T09:36:41+00:00 2013-07-11T09:36:41+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=225&p=411#p411 <![CDATA[Interview Questions. • Index and Subscript?]]>
I think without Index we can not use SEARCH/SEARCH ALL -- but apart from this what are other differences or necessities which might bound us to use only index and not a subscript?

Statistics: Posted by cobollearn — Thu Jul 11, 2013 9:36 am


]]>
2013-07-11T09:33:59+00:00 2013-07-11T09:33:59+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=224&p=410#p410 <![CDATA[Interview Questions. • What is the difference between SECTION and Paragraph?]]>
I answered that -- multiple paragraph makes a SECTION and a paragraph is a Paragraph.

Personally, I've never used SECTIONs, the question is -- why we needed them and when do we use them?

Can there be a rather formal definition of a Paragraph in COBOL?

Statistics: Posted by cobollearn — Thu Jul 11, 2013 9:33 am


]]>
2013-07-01T14:07:50+00:00 2013-07-01T14:07:50+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=187&p=282#p282 <![CDATA[Interview Questions. • Re: Please help me with the answers...]]> - 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

Statistics: Posted by Robert Sample — Mon Jul 01, 2013 2:07 pm


]]>
2013-07-01T13:46:46+00:00 2013-07-01T13:46:46+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=187&p=281#p281 <![CDATA[Interview Questions. • Please help me with the answers...]]>
  • 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:
    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?

Statistics: Posted by KavalJeet — Mon Jul 01, 2013 1:46 pm


]]>
2013-06-17T05:48:23+00:00 2013-06-17T05:48:23+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=164&p=230#p230 <![CDATA[Interview Questions. • AJAX Chat is Installed!]]> AJAX Chat is Installed! Using this you can Chat with other registered members while you're logged in -- it's Fun when you don't to post a topic however, still want to convey some message to other user. Below is a handy link to AJAX Chat corner. You can also find it on the "Menu-Bar" adjacent to FAQ.


AJAX Chat


For the Curious minds: Ajax Chat is a high performance php-based chat server software for a live chat-room or -module on every php-based site.

Statistics: Posted by Anuj Dhawan — Mon Jun 17, 2013 5:48 am


]]>
2013-06-16T14:58:13+00:00 2013-06-16T14:58:13+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=163&p=229#p229 <![CDATA[Interview Questions. • Arcade Games are Installed!]]> Arcade Games are Installed! So have Fun while You Learn! :)

There are currently 25 games installed. Have a look: Here is a list of Games - click on Arcade below to get started:

Arcade

And don't Forget to Submit Your highest Score!

Statistics: Posted by Anuj Dhawan — Sun Jun 16, 2013 2:58 pm


]]>