I need to obtain the structure dataset. Currently we areusing this JCL:
//UXDUMMY JOB ,,NOTIFY=&SYSUID,MSGCLASS=H,CLASS=A
//PASO10 EXEC DSNUPROC
//SYSIN DD *
UNLOAD TABLESPACE xxxxxxxx.yyyyyyyyy FROM TABLE ZZZZZ.YYYYY
SHRLEVEL REFERENCE;
/*
//SYSREC DD DUMMY
//SYSPUNCH DD DSN=SISTEMAS.DB1TLX(YYYYY),DISP=SHR
//PASO10 EXEC DSNUPROC
//SYSIN DD *
UNLOAD TABLESPACE xxxxxxxx.yyyyyyyyy FROM TABLE ZZZZZ.YYYYY
SHRLEVEL REFERENCE;
/*
//SYSREC DD DUMMY
//SYSPUNCH DD DSN=SISTEMAS.DB1TLX(YYYYY),DISP=SHR
This is a good way to obtain this, but if the tables has a large cardinality, this job takes a long time because unload all the data.
Anybody knows the way to obtain the structure whithout unload the data?
Thanks