Can Read only variables be defined using :READ Statement. I don't want the user to modify the default value and leave as is.
Thanks in advance,
understood, so if prompt set (as suggested by Michael Lowry) is not an option, try this:
:READ &DEFAULT#,"'Default value'",'Please select','Default value'
in this form you can't choose anything else as the "Default value" for the Variable &DEFAULT#
Instead of using the :READ script statement, use a prompt set. In the prompt set, for the variable in question, specify these options:
I understand but I only want to achieve this using :READ. Is it possible?
If the value doesnt need to be shown to the user, you could also just set it as a constant in pre- or process tab:
:CONST &VARIABLE1# = "VALUE1"
No, I want to show the value to the user and need to confirm the displayed value or else cancel the job if they think the value is wrong. But he shouldn't edit that value. Hope you get the requirement.
Perfect. This is what I needed.
Retrieving data ...