We have the following problem: We get a file-error 30 (Data sent to device
is not valid. Negative response code .....) after reading a screen which is
entered for the second time. Has anyone a clue what is the real problem??
There is more to know so some additional information.
From a COBOL-program (yes they still exist) we write to a screen with
several different formats. At a certain point in the screenflow you can make
a selection from a subfile after which you get the first details screen of
the chosen selection. If you press F3 on this screen you will leave the
COBOL-program, but not the COBOL-rununit (so files and working storage will
stay "open").
If you enter the same COBOL-program again the error will occur at the first
read of the screen. Why, what is going wrong? And how to fix it?
In one the details screens there is a subfile as well. After this second
subfile is shown F3 is not giving those problems when re-entering the
program.
I tried to set the RSTDSP-parameter of the DSPF to *YES. This works (no
errors again), but the screen is blinking at the moment it is shown on the
READ-statement.
If the program is not in the same rununit, the error is not present as well.
Does anyone knows how to solve this or even has a clue where I should look??
Thanx,
Jan
Jan Melisse heeft geschreven in bericht <7ib5ut$2sq1$1...@beast.euro.net>...