I am wondering if /UIS,MSGPOP,4 command still available in APDL Suppresses error message pop-up dialog box. (Error messages will still be recorded in the jobname.err file and output window/file.)
As mentioned by previous reply, in the manuals there is no option VALUE 4 for /uis,msgpop,VALUE.
Also, remember that may not be a good idea to suppresse error messages.
The option field in command /NERR,,,field is usually not documented and it ignores all error messages according field value:
-1, keep running unless a fatal error occurs. -2, errors are reported to jobname.err only, not jobname.out.
Because the time spent when running see documentation for
/NERR, NMERR, NMABT, --, IFKEY, NUM
specially that NMERR default is 5 for interactive runs with the GUI turned on, 20 for interactive runs with the GUI turned off, 200 for batch runs. And NMABT per command before abort has the default i n 10,000.
Usually we prefer to use /uis,msgpop,3 to suppress others messages but keep error msgs visible and /uis,msgpop,0 to put them back.
But, is your problem with using a macro called by a macro which changes the msgpop status? In that case get the msgpop status before the called macro and after set the msgpop status back.
See e.g. the *GET,,COMMON in https://ansys.netlify.app/html/undocumented/
*get,_oldMPS,COMMON,,d3com2,,int,31 /uis,msgpop,3 ! the commands here ! ... ! ... ! ... /uis,msgpop,_oldMPS