The Rational® Developer for System z® source code generation features include the VSAM/QSAM Wizard.
To open the wizard, complete the following steps:
- Click .
You can select the project within the COBOL
Project window.
- Enter the COBOL Project name in the Wizard, and then select the Dataset
Application template.
- In the next window, you can select either Program, Driver
Program, or Copybook.
The
next window that opens in the Dataset Model window.
- You can also indicate CICS or Batch application
type and whether the program takes input, gives output, or both.
The CICS® generated program allows only a VSAM data
set to be specified; only KSDS, ESDS, and RRDS are supported. QSAM
is not supported. The generated CICS Papplication
allows both input and output against the specified data set.
When generating a program for batch, you can choose to have the
program read input, write output, or both. You may also choose a
different type of record for input or output. The options are KSDS,
ESDS, RRDS, or QSAM.
This is the Input Dataset
Information window.
The following table shows how the types are accessed:
Table 1. Options for input and output| |
QSAM |
KSDS |
ESDS |
RRDS |
| Input |
Organization is SEQUENTIAL; Access mode is SEQUENTIAL. |
Organization is INDEXED; Access mode is DYNAMIC. |
Organization is SEQUENTIAL; Access mode is SEQUENTIAL. |
Organization is RELATIVE; Access mode is DYNAMIC. |
| Output |
Organization is SEQUENTIAL; Access mode is SEQUENTIAL. |
Organization is INDEXED; Access mode is RANDOM. |
Organization is SEQUENTIAL; Access mode is SEQUENTIAL. |
Organization is RELATIVE; Access mode is DYNAMIC. |
This is the Output Dataset Information window.