Correct error Y2V0179 I/O attribute change is not valid
search cancel

Correct error Y2V0179 I/O attribute change is not valid

book

Article ID: 23186

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

The problem occurs if an Edit Code for an existing field is deleted from the file YEDTCDERFP in the CA 2E base library or an Edit Code is "lost" on upgrade to a new release.

If a function with the field is edited, without the Edit Code being present, the field will be Hidden and will not appear on the Device Design. If you edit the field details, both IO usage and NPT usage(override) will be Hidden. If you try to change NPT usage(override) you will get error Y2V0179 I/O attribute change is not valid.

Replacing the Edit Code in YEDTCDERFP will make it possible to edit a database field but not a function field. The steps to correct the internal model files are given in the following solution.

 

 

 

Environment

CA 2E versions 8.7 and higher

Resolution

Make sure that you have a current backup of your model and that no one is editing the model.

The following is the procedure to correct the internal files so that the field appears as needed on the Device Design:

  1. Identify the Surrogate for the Function using YDSPMDLOD
  2. Identify the Surrogate for the Field using YDSPMDLOD
  3. YWRKF YSCRENTRFP
  4. F7 Select using the values from 1 for Message surrogate and 2 for Field sgt
  5. Use 5 to Update any record(s) selected
  6. Page down twice to see the fields IO usage and NPT usage(override), these fields will contain 'H'
  7. Change both fields to the appropriate code, either 'I' or 'O'
  8. The Edit Codes listed immediately above these fields may be altered to contain an edit code that does exist in the YEDTCDERFP file. Make sure to change all 3 Edit Codes; use Edit Code 4 if you are unsure what is available