11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.14 Access method services (IDCAMS)<br />

Access method services is a utility to:<br />

Define VSAM data sets<br />

Maintain catalogs<br />

Command interface to manage VSAM and catalogs<br />

Functional commands<br />

Modal commands<br />

Invoke IDCAMS utility program<br />

Using JCL jobs<br />

From a TSO session<br />

From a user program<br />

Figure 4-20 Access method services<br />

Access method services<br />

You can use the access method services utility (also know as IDCAMS) to establish and<br />

maintain catalogs and data sets (VSAM and non-VSAM). It is used mainly to create and<br />

manipulate VSAM data sets. IDCAMS has other functions (such as catalog updates), but it is<br />

most closely associated with the use <strong>of</strong> VSAM.<br />

Access method services commands<br />

There are two types <strong>of</strong> access method services commands:<br />

Functional commands Used to request the actual work (for example, defining a data set or<br />

listing a catalog)<br />

Modal commands Allow the conditional execution <strong>of</strong> functional commands (to make it<br />

look like a language)<br />

All access method services commands have the following general structure:<br />

COMMAND parameters ... [terminator]<br />

The command defines the type <strong>of</strong> service requested; the parameters further describe the<br />

service requested; the terminator indicates the end <strong>of</strong> the command statement.<br />

Time Sharing Option (TSO) users can use functional commands only. For more information<br />

about modal commands, refer to z/<strong>OS</strong> DFSMS Access Method Services for Catalogs,<br />

SC26-7394.<br />

Chapter 4. Storage management s<strong>of</strong>tware 129

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!