How to control attributes of the Panel variables through REXX. is it first possible. i have gone through multiple manuals , only i could relate it .ATTR or .ATTRCHAR but they can be used in )INIT or )REINIT section, i want to control the attributes through REXX though.
My requirement is:
(Note: this is simple requirement only, the concept can be used for multiple solution).
Step 1: Throw panel from REXX and ask for Dataset.
Step 2: Validate the data set if exist read else throw error message.
Step 3: Once the data is valid display the data row wise for first 15 lines. while doing so the field where we enter the dataset should be protected.
Step 4: Page up and Page down function to browse through and if any change to be made can be made.
Step 5: Save the updated content to the dataset.
i have figured out all other stuff but wanted to know how to protect the field which accepts dataset after displaying the data.
learn to use the proper terminology for mainframe oriented IT
throw is a term used for toy computers and toy languages
You DISPLAY a panel as per ISPF manuals
and You DISPLAY an error message
and as a general concern ( been there done that )
if the number of fields for which the attribute has to be changed is large
the process and the coding will be painful
apart finding the proper names to use in order not to overflow the 80 bytes record length for panels