| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Restore Object iWeb (RSTOBJIWEB) command restore objects, from a save file, as the system command RSTOBJ and RST plus all iWeb related objects, related customizations and related definitions.
Nota: This command has to be used in correlation with the command SAVOBJIWEB.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| OBJ | Object | Single values: *ALL Other values (up to 300 repetitions): Generic name, name |
Optional, Positional 1 |
| SAVLIB | Save library | Values (up to 300 repetitions): Name | Optional, Positional 2 |
| SAVF | Save file | Qualified object name | Optional, Positional 3 |
| Qualifier 1: Save file | Name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
| PGM | Programs (WebEnabled or not) | *YES, *NO | Optional, Positional 4 |
| DSPF | Display files | Element list | Optional, Positional 5 |
| Element 1: *FILE | *YES, *NO | ||
| Element 2: iWeb XML definition | *YES, *NO | ||
| MENU | Menus | Element list | Optional, Positional 6 |
| Element 1: *MENU *FILE *MSGF | *YES, *NO | ||
| Element 2: iWeb XML definition | *YES, *NO | ||
| IWEBMASTER | iWebMaster customization | *YES, *NO | Optional, Positional 7 |
| RUNTIME | Synchronise runtime | Element list | Optional, Positional 8 |
| Element 1: *RUNTIME | *YES, *NO | ||
| Element 2: *APPLET | *YES, *NO | ||
| RSTLIB | Restore to library | Name, *SAVLIB | Optional, Positional 9 |
| IFSOBJ | IFS Objects (img, doc, etc.) | Single values: *NONE Other values (up to 100 repetitions): Element list |
Optional, Positional 10 |
| Element 1: Name | Path name, * | ||
| Element 2: Include or omit | *INCLUDE, *OMIT | ||
| Element 3: New object name | Path name, *SAME | ||
| SUBTREE | IFS Subtree pattern | *ALL, *DIR, *NONE, *OBJ, *STG | Optional, Positional 11 |
| RSTASPDEV | Restore to ASP device | Name, *SAVASPDEV | Optional, Positional 12 |
| RSTASP | Restore to ASP number | Character value, *SAVASP | Optional, Positional 13 |
| OUTPUT | Output information | *, *NONE, *PRINT, *OUTFILE | Optional, Positional 14 |
| OUTFILE | Output file | Qualified object name | Optional, Positional 15 |
| Qualifier 1: Output file | Name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
| OUTMBR | Output member option | Element list | Optional, Positional 16 |
| Element 1: Member to receive output | Name, *FIRST | ||
| Element 2: Operation to perform on member | *REPLACE, *ADD |
| Top |
| Top |
| Top |
| Top |
Specifies if you want to restore object of type *PGM
| Top |
Specifies if you want to restore object of type *FILE with attribute DSPF and if you want to restore the iWeb conversion (XML definition) of type *FILE with attribute DSPF
Nota: You can either restore only object DSPF (type *FILE) and not the iWeb version or only the iWeb version and not DSPF or restore all.
Element 1: *FILE
Element 2: iWeb XML definition
| Top |
Specifies if you want to restore object of type *MENU and if you want to restore the iWeb conversion (XML definition) of type *MENU
Nota: You can either restore only object *MENU and not the iWeb version or only the iWeb version and not *MENU or restore all.
Element 1: *MENU
Element 2: iWeb XML definition
| Top |
Specifies if you want to restore iWebMaster customization.
| Top |
Specifies if you want to restore the server RUNTIME and the browser client APPLET to synchronise the all RUNTIME with the saved version.
Nota: You can either restore only the server runtime and not the applet or only the applet and not the server runtime or restore all.
Element 1: *RUNTIME
Element 2: *APPLET
| Top |
| Top |
Specifica il nome del percorso dell'oggetto da ripristinare. E' possibile specificare un modello per questo nome di percorso. Può essere specificato un massimo di 300 modelli di nomi percorso.
Per ulteriori informazioni riguardanti la specifica dei nomi percorso, consultare "Regole di denominazione oggetti" in "Concetti e riferimenti CL" in L'argomento CL concepts and reference nell'iSeries Information Center all'indirizzo http://www.ibm.com/eserver/iseries/infocenter.
Ulteriori informazioni sui modelli di nome dell'oggetto sono in Info sull'IFS (Integrated file system) nell'iSeries Information Center all'indirizzo http://www.ibm.com/eserver/iseries/infocenter.
Elemento 1: Nome
Specifica gli oggetti salvati sul supporto magnetico. Le abbreviazioni dell'indirizzario (ad esempio, l'indirizzario corrente) vengono estese con i loro valori correnti e non quelli avuti al momento dell'operazione di salvataggio.
Elemento 2: Includere o omettere
Specifica se i nomi che corrispondono al modello devono essere inclusi o omessi dall'operazione. E' da notare che nel determinare se un nome corrisponde ad un modello, i modelli di nome relativi sono sempre trattati come relativi all'indirizzario di lavoro corrente.
Nota: Il parametro SUBTREE determina se gli alberi secondari sono inclusi o omessi.
Elemento 3: Nuovo nome oggetto
Specifica il nuovo nome percorso dell'oggetto.
| Top |
Specifica se vengono inclusi nell'operazione di ripristino gli alberi secondari dell'indirizzario.
| Top |
| Top |
| Top |
| Top |
| Top |
| Top |
Example 1: Simple Command Example
RSTOBJIWEB KWD1(PARMVAL1)
This command <...>
Example 2: More Complex Command Example
RSTOBJIWEB KWD1(PARMVAL1) KWD2(PARMVAL2)
KWD3(PARMVAL3)
This command <...>
| Top |
| Top |