Dynamically changing Extened attributes like Highlighting it
Posted: Sat Feb 22, 2014 9:08 am
How to dynamically change the extended attributes of the CICS MAPS in the COBOL Program?
I have turned on the Extended attributes on the CICS MAP, I have the variables with suffixes like A,H,C,U etc. Lets say the Variable name is MSG. So we have MSGA, MSGH, MSGC, MSGU etc. Now lets say first time the screen is present and then a user pressed PF5 which should outline the input field on the MAP. Lets say he entered Number instead of Alphabets which the program logic will not accept then We need to change the colour of the field as blue and if the value entered in the field is matching with a particular value in the program , we want to highlight it.
Please do not worry about the logic. I only need to now how can we change these extended attributes of the field dynamically in the cobol program? Like if we have to move the cursor to MSG field we move -1 to MSGL Same way I want to know what we have to do with the MSGH, MSGC, MSGU, MSGA etc..
Can anybody please help?
I have turned on the Extended attributes on the CICS MAP, I have the variables with suffixes like A,H,C,U etc. Lets say the Variable name is MSG. So we have MSGA, MSGH, MSGC, MSGU etc. Now lets say first time the screen is present and then a user pressed PF5 which should outline the input field on the MAP. Lets say he entered Number instead of Alphabets which the program logic will not accept then We need to change the colour of the field as blue and if the value entered in the field is matching with a particular value in the program , we want to highlight it.
Please do not worry about the logic. I only need to now how can we change these extended attributes of the field dynamically in the cobol program? Like if we have to move the cursor to MSG field we move -1 to MSGL Same way I want to know what we have to do with the MSGH, MSGC, MSGU, MSGA etc..
Can anybody please help?