Checking Existing Parameter using APDL GET Command

Question - How to check whether an array parameter is already existing in APDL in batch mode?

Answer - You can use the following *GET command to test if a parameter name exists.

*GET,PRM_TYPE,PARM,name,TYPE ! where "name" is the parameter name

It will return -1 if name is undefined or 0 if scalar, 1 if array, 2 if table, 3 if character scalar, and 4 if character array.