Following is a JCL example showing the use of a FILEOUT statement with the EXTBKUP function.
The following shows the command to extract the data table POL in area POL in database 1 to the output data set, POLOUT. The FILEOUT statement is shown immediately before the EXTBKUP line.
Note: Use the following as a guide to prepare your JCL. The JCL statements are for example only. Lowercase letters in a statement indicate a value you must supply. Code all statements to your site and installation standards.
* $$ JOB ... See the note above and JCL Requirements.
* $$ LST ...
// JOB name
// EXEC PROC=procname Whether you use PROCs or LIBDEFs, see JCL Requirements.
// ASSGN SYSnnn,device type,VOL=volser,SHR
// DLBL CXX,'cxx',,DA Directory data set
// EXTENT SYSnnn,volser
// DLBL INFILE,'db001.pol',,DA Input file
// EXTENT SYSnnn,volser
// ASSGN SYS005,TAPE
// PAUSE MOUNT TAPE
// TLBL POLOUT,'polout' Output data
// EXEC DBUTLTY,SIZE=750K
FILEOUT DTFNAME=POLOUT,TABLE=POL,DEVICE=S005
EXTBKUP DEVICE=DISK,DTFNAME=INFILE
/*
/&
* $$ EOJ
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|