For this step of the IVP a PDS or PDS/E is required, where the FM/Db2 template for the exported data will be stored. The examples
given assume a name of
TSO logonid.FM.TEMPLATE
You
can specify any valid data set name that your TSO logon ID has update access to. You can use ISPF
option 3.2, or a batch job, to create the data set. Create this data set with these attributes:
Organization..:PO
Record format...:FB
Record length...:80
Data set name type PDS or Library
Set the Export options as shown in Export Options
(1 of 3).
Enter '0.3.7' on the FM/Db2 main menu to access the Export Options
panel.
Return to the FM/Db2 main menu by pressing PF3.
Select the FM/Db2 Export function by typing '3.7' on the FM/Db2
main menu and pressing Enter.
Type 'FMN0USR' and 'Employee-Detail' on the From Db2® object field as shown in Export Utility. Press Enterto show the FM/Db2Export
To panel.
Enter these values on the EXPORT To partitioned... panel:
If you execute this IVP step on subsequent occasions you may see a "Template replace" pop-up
panel. This is a warning panel displayed when a File Manager/Db2 function is about to replace a
template in a member of PDS that already exists. Press Enter to continue.
On subsequent executions of this IVP step the allocation panel
for the export data set is not shown.
Review the generated JCL. It should not be necessary to change the STEPLIB
DD statements if the correct Db2® libraries
are specified in the FMN2SSDM macro entry for
the currently connected Db2® system.
Submit the job. The expected return code is RC=0, with 48 rows exported.
You can browse the exported data set using the View option in the File Manager Base component.