Beruflich Dokumente
Kultur Dokumente
Create or choose a library where you want to transfer the savefile containing
the packages.
CRTLIB MYLIB
CRTSAVF MYLIB/DDOV6R1
3. FTP the CfODBC DB2 SQL Package savefile to the host system into the SAVEFILE
that you created in step 2.
Be sure to FTP in binary format
There is a file for each specific version of AS400
V6R1: DDOV6R1.savf
V5R4: DDOV5R4.savf
V5R3: DDOV5R3.savf
V5R2: DDOV5R2.savf
example:
ftp> bin
200 Representation type is binary IMAGE.
ftp> put DDOV6R1.savf /qsys.lib/mylib.lib/DDOV6R1.savf
200 PORT subcommand request successful.
150-NAMEFMT set to 1.
150150 Sending file to member DDOV6R1 in file DDOV6R1 in library MYLIB.
226 File transfer completed successfully.
ftp: 1605120 bytes sent in 89.56Seconds 17.92Kbytes/sec.
ftp>
4. (optional) Login to your host system and execute the DSPSAVF command to display
the packages. This will verify that the SAVEFILE was correctly transferred to the
host system.
DSPSAVF MYLIB/DDOV6R1
Results:
5. Execute the RSTOBJ restore object command on the savefile using NULLID as your
destination library.
ex.
6. Grant privileges to the PUBLIC group so that all users have access to the
packages.