## Saving and Restoring

For most commands you can save the parameters into a file, e.g., enter at the prompt PAKO > :

    SAVE POINTING

This saves the parameters of observing mode POINTING. The format of the saved files is that of a valid script in the command language. Therefore you can restore it later: enter at the prompt PAKO > :

    @ POINTING

In a similar way, you can save the parameters of the source, receiver and backend setup, and of the switching mode.

    SAVE ALL

saves (nearly) all current parameters, as well as the current switching and observing modes. It saves the pointing and focus corrections only if used in the form:

    SAVE ALL C[ORRECTIONS]

Normally SAVE ALL is meant to generate a paKo script that can be used to re-produce the setup at a later time, when one probably wants to use different pointing and focus corrections. On the other hand the idiomatic usage:

    SAVE ALL C /FILE LAST

allows to save “really everything” in order to recover it with @ LAST.

The parameters of “unused” (unselected) hardware, switching modes, and observing modes are never saved.

Tip: check out the options of command save: enter at the prompt PAKO > :

    HELP SAVE /FILE
    HELP SAVE /APPEND

After using @ ... to restore a saved observing mode, e.g., otfmap, the graphic display may look confused. To clean it up, enter at the prompt PAKO > :

    CLEAR PLOT
    BOX
    OTFMAP       ! i.e., the observing mode.