QwikRef: Changing an unmodeled sequential dataview for CA Datacom
search cancel

QwikRef: Changing an unmodeled sequential dataview for CA Datacom

book

Article ID: 196478

calendar_today

Updated On: 08-03-2020

Products

Datacom Datacom/DB

Issue/Introduction

Dataviews for sequential files can be created in CA Ideal (called modeled) or they can be created in Datadictionary (called unmodeled).

The unmodeled dataview is similar to many other CA Datacom/DB structures in that it has a hierarchy of entities (File, Record, Element, Dataview).

This article is a quick listing of the steps needed to update this unmodeled dataview for use in CA Ideal programs.

Environment

Component : CA DATACOM DATADICTIONARY

 

Resolution

Below are the steps to follow to change a Test version (T1) of an unmodeled dataview. These commands can be entered in the command line at the top of the DDOL screen, or if only the verb and entity type are entered, the fill-in panel is displayed.

  1. SET MODE FMM (File Maintenance)
  2. DEF REC MY-SEQDVW-REC STA T1
    • Add or change fields here as needed - PF9 to Apply
  3. MOD ELM MY-SEQDVW-ELM REC MY-SEQDVW-REC STA T1
    • Change "N" in the Include? column to "Y" as needed - PF9 to Apply
  4. ENA FILE MY-SEQDVW-FILE STA T1
    • PF9 to Apply
  5. IDEAL
  6. In Ideal, => D IND DVW MY-SEQDVW-DVW
  7. Beside the T 001 version, enter line command DIS to display the DVW. Verify that the old version is displayed.
  8. In Ideal => CAT * to catalog the displayed DVW in T1 status.

Programmers can now use the T1 version in the programs as desired.

To next set the changes in production, these are the DDOL steps.

  1. COPY FILE MY-SEQDVW-FILE STA T1 STA PROD (must be the FILE and not the RECORD or the ELEMENT)
    • PF9 to Apply
  2. ENA FILE MY-SEQDVW-FILE STA PROD
    • PF9 to Apply
  3. IDEAL 
  4. In Ideal, => CAT DVW MY-SEQDVW-DVW PROD

These commands should allow you to quickly make a simple change to an unmodeled dataview. 

 

Additional Information

As always, please contact Broadcom support for CA Datacom if you have further questions.