Example:
GTM>do ^%G Output Device: <terminal>: <RETURN> List ^C ^C="CLASS" ^C(1)="MARY" ^C(1,2)="MATH" ^C(1,2,1)=80 ^C(1,3)="BIO" ^C(1,3,1)=90 ^C(2)="JOHN" ^C(3)="PETER" List ^ <RETURN> GTM>
This example lists the nodes of global ^C. %G displays the global and its descendants and values, if the node exists.
Example:
GTM>do ^%G Output Device: <terminal>: <RETURN> List ^C(1) ^C(1)="MARY"
This example lists only the node entered and its value.
Example:
GTM>do ^%G Output Device: <terminal>: <RETURN> List ^C(1,*) ^C(1)="MARY" ^C(1,2)="MATH" ^C(1,2,1)=80 ^C(1,3)="BIO" ^C(1,3,1)=90 List ^ <RETURN> GTM>
This example uses the asterisk (*) wildcard to list node ^C(1), its descendants and values.
Example:
GTM>do ^%G Output Device: <terminal>: <RETURN> List ^?D Global Directory Global ^ <RETURN> ^C ^D ^S ^Y ^a Total of 5 globals. List ^ GTM>
This example specifies "?D" as the global that invokes the %GD utility. %GD displays existing globals in the current global directory without displaying their values or descendants.