A new DataView can be generated to access a VSAM resource using the 'Service Discovery Wizard', which will not only generate the DataView (XRD), but also a XSD, plus the Portus Resource definition itself.
- Start the Discovery Wizard using the VSAM_Driver as described here.
- Enter the High Level Qualifier of your VSAM file. You may also optionally enter the Catalog name. Click Discover
- Select the VSAM dataset from the list returned, click Generate
-
Under Connect to , select the DataView entry.
Advance to the Connect with column, click it, then click the push-button appearing at the right hand corner, and associate it with a DataView entry.
- Alternatively, instead of a DataView, you can associate the VSAM file with Cobol code. Under Connect to , select Source from File System.
- Advance to the Connect with column, click it, then click the push-button appearing at the right hand corner, and associate it. Now browse for the source to associate with this VSAM Service.
- The selected cobol source will be parsed and data structures in the Linkage and Work Storage Sections will be presented.
- Select the data structures from the list and click Continue. The Service will the created and published.