13.11.2012 Views

IBM Class Author book content - IBM Learner Portal

IBM Class Author book content - IBM Learner Portal

IBM Class Author book content - IBM Learner Portal

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Student Note<strong>book</strong><br />

Exporting: Using i5/OS commands<br />

• On source system<br />

– Create SAVFs to hold the DOMAIN with its objects and METADATA<br />

• CRTSAVF FILE(QGPL/GROUP003)<br />

• CRTSAVF FILE(QGPL/METADATA)<br />

– Save domain and metadata<br />

• SAV DEV('/qsys.lib/qgpl.lib/group003.file')<br />

OBJ(('/qibm/UserData/webquery/ibi/webfocus76/basedir/group003' *INCLUDE))<br />

DTACPR(*YES)<br />

• SAV DEV('/qsys.lib/qgpl.lib/metadata.file')<br />

OBJ(('/qibm/UserData/webquery/ibi/apps/baseapp/cen_o*' *INCLUDE))<br />

• On target system<br />

– Create SAVFs to hold the DOMAIN with its objects and METADATA<br />

• CRTSAVF FILE(QGPL/GROUP003)<br />

• CRTSAVF FILE(QGPL/METADATA)<br />

– FTP savf from source to target system in BINARY<br />

– Restore domain with its objects and metadata<br />

• RST DEV('/qsys.lib/qgpl.lib/group003.file')<br />

OBJ(('/qibm/UserData/webquery/ibi/webfocus76/basedir/group003'))<br />

• RST DEV('/qsys.lib/qgpl.lib/metadata.file')<br />

OBJ(('/qibm/UserData/webquery/ibi/apps/baseapp/cen_o*'))<br />

Note: user profile to perform commands MUST be in MRADMIN group<br />

In this example domain name is Group003 and metadata name is cen_orders<br />

Figure 1-110. Exporting: Using i5/OS commands AT911.0<br />

Notes:<br />

© Copyright <strong>IBM</strong> Corporation 2010<br />

Here’s the i5/OS commands to perform distribution via Save/Restore and FTP.<br />

1-120 DB2 Web Query for <strong>IBM</strong> i © Copyright <strong>IBM</strong> Corp. 2010<br />

Course materials may not be reproduced in whole or in part<br />

without the prior written permission of <strong>IBM</strong>.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!