setjump - Saves Model and Landscape

The setjump command saves the current model handle and current landscape handle under the label text_string. The user can later use the jump command with text_string to set the current model handle and the current landscape handle back to the one stored under text_string. The user is prompted for verification if the same text_string is used in two setjump commands.
csp
The setjump command saves the current model handle and current landscape handle under the label text_string. The user can later use the jump command with text_string to set the current model handle and the current landscape handle back to the one stored under text_string. The user is prompted for verification if the same text_string is used in two setjump commands.
Separate setjump values are maintained for each session that is connected to the CLI Local Server. The setjump command retains information, that is, the session-assigned setjump text strings, only for the session that named it.
The command has the following format:
setjump [-n] <text_string>
  • -n
    If the -n (no prompt) option is specified with the setjump command, then the system does not prompt if text_string has been used before.
  • If setjump is entered with a new <text_string> and a current model exists, the following message is displayed:
    model <current_model_handle> and landscape <current_landscape_handle> stored under <text_string>
    where <current_model_handle> is the handle of the current model and <current_landscape_handle> is the handle of the current landscape.
  • If setjump is entered with a new <text_string> and a current model does not exist, the following message is displayed:
    model undefined and landscape <current_landscape_handle> stored under <text_string>
  • If setjump is entered with a text_string that has already been defined in a previous setjump command, the following message is displayed:
    setjump model: <text_string> already used. Overwrite?
    Valid responses are y, yes, Y, Yes, n, no, N, and No.
Example: setjump
$ current mh=0x400142 current model is 0x400142 current landscape is 0x400000 $ setjump -n tutorial model 0x400142 and landscape 0x400000 stored under tutorial