Screen Entry Details field changes not being saved
search cancel

Screen Entry Details field changes not being saved

book

Article ID: 74015

calendar_today

Updated On:

Products

CA 2E

Issue/Introduction

We have a dspfil function, and on the screen, we are trying to change one of the fields' label location from "C" for Column to "B" for Before. However, every time we change it, F3 out of the function to save, then go back into the screen design, and the label location is back to Column. 
How do i resolve this problem?

Environment

CA 2E 8.7 and higher

Cause

The cause of the problem is likely that there are duplicate records in YSCRENTRFP for this field and screen.

Resolution

Use YWRKF on YSCRENTRFP to find the duplicate record and delete it.

To use YWRKF on YSCRENTRFP to find the duplicate record, you need to get the surrogate number of both the function and the field in question via a 'U'sage on each object and placing an '8' against the 'REASON' that is showing at '*OBJECT'. The surrogate number should be located on the top-right of the screen: 
From a command line, do a YWRKF YSCRENTRFP against the mdllib. Press F7=Select and blank out the 'Scan limit'. Set 'Message surrogate' EQ to the function surrogate. Next, set 'Field sgt' EQ to the field surrogate number. Press ENTER. 

If you see 2 or more records, then that's the problem. There should only be one record. It is recommended to delete all these records, since the record will be created again upon saving the function.