Mostra Sommario / Indice / Ricerca
Esempio di script ABORT-ON-ERROR

Questo codice di esempio imposta ABORT-ON-ERROR su NO prima di eseguire MGET e lo reimposta su YES prima di eseguire MDEL o PUT.

SET ABORT-ON-ERROR NO

CD /home/utente1/rapporti

CONTINUE ON

MGET giugno*.rpt

CD /home/utente2/rapporti

MGET giugno*.rpt

SET ABORT-ON-ERROR YES

MDEL giugno*.rpt

CD /home/utente1/rapporti

MDEL giugno*.rpt

SET ABORT-ON-ERROR NO

CD /home/annuali

CONTINUE

MGET a20*.rpt,a20*.txt

SET ABORT-ON-ERROR YES

CD /tmp

PUT a2000.txt

PUT a2000.rpt a2000.txt APPEND