This article discusses support programs included in or available for OS/360 and successors. IBM categorizes some of these programs as utilities and others as service aids; the boundaries are not always consistent or obvious. Many, but not all, of these programs match the types in utility software. The following lists describe programs associated with OS/360 and successors. No DOS, TPF or VM utilities are included.
Naming convention IBM uses a naming convention for modules where the first three letters identify the "component" to which a module belongs. In OS/VS, IBM renamed most of the IMx messages as AMx for OS/VS2 and HMx for OS/VS1.
AMAOS/VS2 Service aids AMBOS/VS2 Service aids AMDOS/VS2 Stand-alone Dump and Print Dump GIMSMP/E GTFGeneralized Trace Facility HMAOS/VS1 Service aids HMBOS/VS1 Service aids HMDOS/VS1 Stand-alone Dump and Print Dump HHLGeneralized Trace Facility (OS/VS1) IBCIndependent utilities. "The independent utility programs operate outside, and in support of, the IBM System/360 Operating System." ICAIndependent print buffer (FCB, UCS) load ICEDFSORT ICKDevice Support Facilities (DSF) IDCAccess Method Services (AMS) IEBDataset utilities. Dataset utilities "are used to reorganize, change, or compare data at the data set level and/or at the record level." IEFScheduler IEHSystem utilities. System utilities are used to "maintain system control data." IEROS/360 SORT IETAssembler (E) IEUAssembler (F) IEWLinkage Editor and Loader IFASMF Dump IFCIndependent utilities IFHError Statistics by Volume (ESV) IFOAssembler (XF) IMAService Aids IMBModule Map IMCJob queue utilities IMDStand-alone Dump and Print Dump
History/Common JCL Many of these programs were designed by IBM users, through the group SHARE, and then modified or extended by IBM from versions originally written by a user. These programs are usually invoked via Job Control Language (JCL). They tend to use common JCL DD identifiers (in the OS, now z/OS operating systems) for their data sets:
Dataset utilities
IDCAMS IDCAMS (Access Method Services) generates and modifies Virtual Storage Access Method (VSAM) and Non-VSAM datasets. IDCAMS was introduced along with VSAM in OS/VS; the "Access Method" reference derives from the initial "VSAM replaces all other access methods" mindset of OS/VS. IDCAMS probably has the most functionality of all the utility programs, performing many functions, for both VSAM and non-VSAM files. The following example illustrates the use of IDCAMS to copy a dataset to disk. The dataset has 80-byte records, and the system will choose the block size for the output:
In the example above, SYSIN control cards are coming from an in-stream file, but you can instead point to any sequential file or a PDS member containing control cards or a temporary data-set, if you wish. Example of using SYSIN files would be something like this:
or this:
IEBCOMPR IEBCOMPR compares records in sequential or partitioned data sets. The IEBCOMPR utility is used to compare two sequential or partitioned datasets. This data set comparison is performed at the logical record level. Therefore, IEBCOMPR is commonly used to verify that a backup copy of a data set is correct (exact match to the original). During processing, IEBCOMPR compares each record from each data set, one by one. If the records are unequal, IEBCOMPR lists the following information in the SYSOUT:
The record and block numbers in question. The names of the DD statements in which the inconsistency occurred. The unequal records. When comparing sequential data sets, IEBCOMPR considers the data sets equal if the following conditions are met:
The data sets contain the same number of records. The corresponding records and keys are identical. For partitioned data sets, IEBCOMPR considers the data sets equal if the following conditions are met:
The directory entries for the two partitioned data sets match - that is, the names are the same, and the number of entries are equal. The corresponding members contain the same number of records. The corresponding records and keys are identical. If ten unequal comparisons are encountered during processing, IECOMPR terminates with the appropriate message.
Note: IEBCOMPR is not a very flexible or user-friendly compare program. It can't restrict the comparison to only certain columns, it can't ignore differences in white space, it doesn't tell you where in the record the difference occurs, and it halts after 10 differences. On the other hand, it is fast, and it is present on all IBM mainframes running OS/360 and successors. So it is very useful when an exact match is expected, such as comparing load modules that have not been reblocked, or checking that a copy worked properly. For comparisons of programs or reports, the ISPF SuperC (ISRSUPC) compare program is often used instead.
IEBCOPY IEBCOPY copies, compresses and merges partitioned data sets. It can also select or exclude specified members during the copy operation, and rename or replace members. Some of the tasks that IEBCOPY can perform include the following:
Creating an unload of a partitioned data set (PDS) to a PS dataset, for backup or transmission. Copying a PDS in place to reclaim the unused space from deleted members; also called compressing a PDS. Copying selected members to another PDS. Renaming selected members of a PDS. Merging multiple partitioned data sets into a single PDS. Altering, copying and reblocking load modules. Members that are already present in another PDS will not get replaced unless the R option is specified. For the IEBCOPY utility, the required job control statements for a copy are as follows:
The MYDD1 and MYDD2 DD statements are names chosen by the user for the partitioned input and output data sets, respectively; The defaults are SYSUT1 and SYSUT2. You can use any valid DDNAME for these two DD statements. These DDNAMEs are specified in the utility control statements to tell IEBCOPY the name of the input and output data sets. You only need one DD statement for a PDS to be compressed.
… excerpt ends here. Continue reading the full article.