Rational Developer for System z, Version 7.6

Opening the VSAM/QSAM Wizard

The Rational® Developer for System z® source code generation features include the VSAM/QSAM Wizard.

To open the wizard, complete the following steps:

  1. Click File > New > Project > COBOL Project.
    You can select the project within the COBOL Project window.
    Choose an application template. The available template "Dataset Application" is selected, and "UML-to-COBOL Generation" is not.
  2. Enter the COBOL Project name in the Wizard, and then select the Dataset Application template.
  3. In the next window, you can select either Program, Driver Program, or Copybook.
    The next window that opens in the Dataset Model window.
    Select a model object to create. The program name is PROGNAME. The driver program name is DRIVERPG. The copy book name is COPYBOOK.
  4. 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.
Provide the necessary information for the input data set.
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.
Provide the necessary information for the output data set.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)