GTAPRT M2AREA is the old command for DUMP M2AREA. This command was issued and interrogated to diagnose GTALOCAL delays/hangs (tape allocation issues) prior to MIM 4.1, circa 1995. So even though it would technically still work, the offsets have changed, so the script will not pick up on any problems.
At MIM 4.1 the MIA DIAGNOSE command was added to enhance and format the MTAREA diagnostics.
The global ANALYZE TAPEDELAY command was added in 12.0 and is the enhanced version of the DIAGNOSE command. It is the best way to diagnose tape allocation delays. It requires SET OPTION DDN to be active. Usage details and syntax can be found here.
So automating the new command is an option if there are current concerns with tape delay issues, but the old script no longer serves a purpose.