Which of the following is used to copy sequential files
-
IEFBR14
-
IEBCOPY
-
IEBGENER
-
IEBCOMPR
-
None of the above
IEBGENER is the standard IBM utility for copying sequential datasets or converting them to different formats. IEBCOPY is specifically for partitioned datasets (PDS/PDSE), and IEFBR14 is a dummy program used to allocate or delete datasets via JCL.
To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) IEFBR14 - This option is incorrect. IEFBR14 is a utility program used to create dummy or empty datasets. It does not have the capability to copy sequential files.
Option B) IEBCOPY - This option is incorrect. IEBCOPY is a utility program used to copy or manipulate partitioned datasets (PDS) and partitioned dataset extended (PDSE) files. It is not used to copy sequential files.
Option C) IEBGENER - This option is correct. IEBGENER is a utility program used to copy or generate sequential files. It can be used to copy sequential files from one location to another.
Option D) IEBCOMPR - This option is incorrect. IEBCOMPR is a utility program used to compare two datasets to identify differences. It is not used to copy sequential files.
Option E) None of the above - This option is incorrect. The correct answer is option C) IEBGENER.
The correct answer is C) IEBGENER. This option is correct because IEBGENER is used to copy sequential files.