¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Reorganizing a user catalog in MVS.


 

Hi!

By one side... I was missing the JOBCAT / STEPCAT DD component on all my tests...?Now I understand why they didn't work :-)
But on the other side, I've also found that, apparently, dumping to a dataset on DASD may not be possible, but only to tape, as depicted on examples around.
My guess is that, once the STEPCAT / JOBCAT makes the source catalog reachable, then, the target PS can't be cataloged... or maybe it's theat weird DCB.
Anyways, At least,I have an early 0000 code for REPRO on my catalog into a tape:

//JOBCAT? ?DD DSNAME=UCUSRDT0,DISP=OLD?
//*
//* ---------------------------------------------
//* STEP1: DUMP USER-CATALOG TO TAPE.
//*
//REPROTMP EXEC PGM=IDCAMS,REGION=4096K
//SYSPRINT DD SYSOUT=*
//CATIN? ? DD DSNAME=UCUSRDT0,DISP=OLD
//CATOUT? ?DD DSNAME=UCUSRDT0.TAPE,LABEL=(1,SL),
//? ? ? ? ?DISP=NEW,UNIT=(TAPE,,DEFER),VOL=SER=UCBAK0,?
//? ? ? ? ?DCB=(DEN=3,RECFM=VB,LRECL=516,BLKSIZE=5164)?
//SYSIN? ? DD *
? REPRO INFILE(CATIN) -
? ? OUTFILE(CATOUT)
/*
?
Now I have to figure out whether or not can I check its contents, how to use it, and whether eventually it is OK or not... my journey is still on :-P

Thank you all.
Cheers.

Join [email protected] to automatically receive all group messages.