NetBatch Manual

Software Installation
NetBatch Manual522460-004
2-8
Step 3: Copy the Database Files to the Target
Location
Step 3: Copy the Database Files to the Target Location
Copy the database files to the target location by using the FUP DUP command with the
SAVEALL option:
> VOLUME $DATA7.SCHD
> FILES
\MELBDEV.$DATA7.SCHD
ATTACH ATTACH0 BATCHCTL CHKQUE CHKQUE0 EXECUTO0
EXECUTOR JOB JOBCLAS0 JOBCLASS LOGAAA NBATTX
NBATTX0
> FUP DUP , \MELRISK.$DATA.SCHD., SAVEALL
WARNING \MELRISK.$DATA.SCHD.JOB: ASSUMEID NOT PRESERVED AT
DESTINATION
FILES DUPLICATED: 13
SAVEALL preserves the owner ID, RWEP security attributes, and last-modified
timestamp of all files except JOB.
Step 4: Secure the Migrated JOB File to Local Super ID
Secure the migrated JOB file “OOOO” to the local super ID by using the FUP SECURE
command with the PROGID option:
> \MELRISK.TACL
TACL 1> LOGON SUPER.SUPER, password
> VOLUME $DATA.SCHD
> FILES
\MELRISK.$DATA.SCHD
ATTACH ATTACH0 BATCHCTL CHKQUE CHKQUE0 EXECUTO0
EXECUTOR JOB JOBCLAS0 JOBCLASS LOGAAA NBATTX
NBATTX0
> FUP
SECURE JOB, "OOOO", PROGID