Save Object iWeb (SAVOBJIWEB)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Save Object iWeb (RSTOBJIWEB) command save objects, into a save file, as the system command SAVCHGOBJ and SAV plus all iWeb related objects, related customizations and related definitions.

Nota: This command has to be used in correlation with the command RSTOBJIWEB.

Top

Parameters

Keyword Description Choices Notes
OBJ Object Single values: *ALL
Other values (up to 300 repetitions): Generic name, name
Required, Positional 1
LIB Library Values (up to 300 repetitions): Name Required, Positional 2
REFDATE Reference date Date, *ALL Optional, Positional 3
REFTIME Reference time Time, *ALL Optional, Positional 4
SAVF Save file Qualified object name Optional, Positional 5
Qualifier 1: Save file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
PGM Programs (WebEnabled or not) *YES, *NO Optional, Positional 6
DSPF Display files Element list Optional, Positional 7
Element 1: *FILE *YES, *NO
Element 2: iWeb XML definition *YES, *NO
MENU Menus Element list Optional, Positional 8
Element 1: *MENU *FILE *MSGF *YES, *NO
Element 2: iWeb XML definition *YES, *NO
IWEBMASTER iWebMaster customization *YES, *NO Optional, Positional 9
RUNTIME Synchronise runtime Element list Optional, Positional 10
Element 1: *RUNTIME *YES, *NO
Element 2: *APPLET *YES, *NO
IFSOBJ IFS Objects (img, doc, etc.) Single values: *NONE
Other values (up to 100 repetitions): Element list
Optional, Positional 11
Element 1: Name Path name, *
Element 2: Include or omit *INCLUDE, *OMIT
SUBTREE IFS Subtree pattern *ALL, *DIR, *NONE, *OBJ, *STG Optional, Positional 12
SAVACT IFS Save while active *NO, *YES, *SYNC Optional, Positional 13
TGTRLS Target release Character value, *CURRENT, *PRV Optional, Positional 14
ASPDEV ASP device *, *SYSBAS, *CURASPGRP Optional, Positional 15
OUTPUT Output information *, *NONE, *PRINT, *OUTFILE Optional, Positional 16
OUTFILE Output file Qualified object name Optional, Positional 17
Qualifier 1: Output file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
OUTMBR Output member option Element list Optional, Positional 18
Element 1: Member to receive output Name, *FIRST
Element 2: Operation to perform on member *REPLACE, *ADD
Top
Top
Top
Top
Top
Top

Programs (WebEnabled or not) (PGM)

Specifies if you want to save object of type *PGM

*YES
All object of type *PGM (original and iWeb converted) will be saved.
*NO
Object of type *PGM (original and iWeb converted) will not be saved.
Top

Display files (DSPF)

Specifies if you want to save object of type *FILE with attribute DSPF and if you want to save the iWeb conversion (XML definition) of type *FILE with attribute DSPF

Nota: You can either save only object DSPF (type *FILE) and not the iWeb version or only the iWeb version and not DSPF or save all.

Element 1: *FILE

*YES
All object of type *FILE with attribute DSPF will be saved.
*NO
Object of type *FILE with attribute DSPF will not be saved.

Element 2: iWeb XML definition

*YES
All iWeb conversion (XML definition) of display file will be saved.
*NO
iWeb conversion (XML definition) of display file will not be saved.
Top

Menus (MENU)

Specifies if you want to save object of type *MENU and if you want to save the iWeb conversion (XML definition) of type *MENU

Nota: You can either save only object *MENU and not the iWeb version or only the iWeb version and not *MENU or save all.

Element 1: *MENU

*YES
All object of type *MENU will be saved.
*NO
Object of type *MENU will not be saved.

Element 2: iWeb XML definition

*YES
All iWeb conversion (XML definition) of Menu (coming from object type *MENU or not) will be saved.
*NO
iWeb conversion (XML definition) of Menu (coming from object type *MENU or not) will not be saved.
Top

iWebMaster customization (IWEBMASTER)

Specifies if you want to save iWebMaster customization.

*YES
iWebMaster customization will be saved.
*NO
iWebMaster customization will not be saved.
Top

Synchronise runtime (RUNTIME)

Specifies if you want to save the server RUNTIME and the browser client APPLET to synchronise the all RUNTIME with the saved version.

Nota: You can either save only the server runtime and not the applet or only the applet and not the server runtime or save all.

Element 1: *RUNTIME

*YES
The server runtime will be saved.
*NO
The server runtime will not be saved.

Element 2: *APPLET

*YES
The applet (browser client) will be saved.
*NO
The applet (browser client) will not be saved.
Top

Oggetti (OBJ)

Specifica gli oggetti da salvare. E' possibile specificare un modello nome oggetto per il nome percorso da utilizzare. Quando si specifica un nome percorso che potrebbe corrispondere a più oggetti, è possibile specificare un valore per il parametro Modello nome (PATTERN) per inserire in una sottoserie gli oggetti che è necessario salvare.

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

'*'
Gli oggetti vengono salvati nell'indirizzario corrente.
nome-percorso
Specificare un nome di percorso dell'oggetto oppure un modello che può corrispondere a molti nomi.

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.

*INCLUDE
Devono essere salvati gli oggetti che corrispondono al modello di nome oggetto, eccetto il caso in cui venga sostituito da una specifica *OMIT.
*OMIT
Non devono essere salvati gli oggetti che corrispondono al modello di nome oggetto. Questo sostituisce una specifica *INCLUDE e deve essere utilizzato per omettere una sottoserie di un modello selezionato precedentemente.
Top

Albero secondario indirizzari (SUBTREE)

Specifica se vengono inclusi nell'operazione di salvataggio i sottoalberi dell'indirizzario.

*ALL
Viene incluso il sottoalbero intero di ogni indirizzario che corrisponde al modello di nome oggetto. L'albero secondario include tutti i sottoindirizzari e gli oggetti che sono all'interno di quei sottoindirizzari.
*DIR
Vengono inclusi gli oggetti nel primo livello di ogni indirizzario che corrisponde al modello del nome oggetto. Vengono inclusi i sottoindirizzari di tutti gli indirizzari corrispondenti, ma non gli oggetti dei sottoindirizzari.
*NONE
Non vengono inclusi sottoalberi nell'operazione di salvataggio. Se un indirizzario corrisponde al modello del nome oggetto specificato, vengono inclusi gli oggetti dell'indirizzario. Se l'indirizzario ha sottoindirizzari, non vengono inclusi né sottoindirizzari né gli oggetti dei sottoindirizzari.
*OBJ
Vengono elaborati solo gli oggetti che corrispondono esattamente al modello nome oggetto. Se il modello nome oggetto specifica un indirizzario, gli oggetti nell'indirizzario non vengono inclusi.
*STG
Gli oggetti che corrispondono al modello del nome oggetto vengono elaborati insieme alla memoria degli oggetti relativi. E' possibile ripristinare gli oggetti salvati utilizzando questo valore soltanto utilizzando SUBTREE(*STG).
Top

Salvataggio mentre attivo (SAVACT)

Specifica se un oggetto può essere aggiornato mentre è in corso il suo salvataggio.

Nota: Se il sistema è in uno stato limitato, questo parametro viene ignorato e l'operazione di salvataggio viene eseguita come se fosse specificato SAVACT(*NO).

*NO
Gli oggetti impegnati non vengono salvati. Non è possibile aggiornare gli oggetti durante il loro salvataggio.
*YES
Gli oggetti possono essere salvati e utilizzati contemporaneamente. I punti di controllo dell'oggetto possono verificarsi in momenti diversi.
*SYNC
Gli oggetti possono essere salvati e utilizzati contemporaneamente. Tutti i punti di controllo dell'oggetto si verificano nello stesso momento.
Top
Top
Top
Top
Top
Top

Examples for SAVOBJIWEB

Example 1: Simple Command Example

SAVOBJIWEB  KWD1(PARMVAL1)

This command <...>

Example 2: More Complex Command Example

SAVOBJIWEB   KWD1(PARMVAL1)  KWD2(PARMVAL2)
             KWD3(PARMVAL3)

This command <...>

Top

Error messages

Unknown
Top