I'm trying to setup a ad-hoc job to unload subset of tables (200) via a template in to a partition dataset using DB2 utility(DB2 v9 z/os). I would like to assign tablespace name as the member name on PUNCHDDN on a partition dataset.
Find it difficult to get the syntax right. ( Afterward I will copy those PUNCHDDN members to a sequential dataset and run the load as a single job on the target environment)
TEMPLATE PUNCHDS DSN '&USERID..TEST.&DB.(&TS.) '
UNIT SYSDA DISP (NEW,CATLG,DELETE)
SPACE (1,1) CYL
What's wrong with the above dataset allocation for a partition dataset.