ADRDSSU
Posted: Thu Jun 25, 2015 10:41 pm
Hello all, I hope you are well!!
I am struggling to figure out how to do something which I would assume is a simple task. I have tried looking through the IBM documentation, but I cannot seem to find a straight forward source which would explain the syntax for a RESTORE. I have tried this the whole day, and not managing so far, perhaps what I want to do cannot be done.
I have 3 datasets, I have dumped them. I want to restore them but with different names. For example:
Dumped datasets:
DATA.SET.ONE
DATA.SET.TWO
DATA.SET.THREE
I want to restore the dump to:
DATA.SET.FOUR
DATA.SET.FIVE
DATA.SET.SIX
Here is the control statement in my job from which I am trying to do this:
I have experimented, and mainly get JCL errors.
If anyone can point me to a clear description of how the RESTORE statements work, that would be great!!
Thank you!!!
I am struggling to figure out how to do something which I would assume is a simple task. I have tried looking through the IBM documentation, but I cannot seem to find a straight forward source which would explain the syntax for a RESTORE. I have tried this the whole day, and not managing so far, perhaps what I want to do cannot be done.
I have 3 datasets, I have dumped them. I want to restore them but with different names. For example:
Dumped datasets:
DATA.SET.ONE
DATA.SET.TWO
DATA.SET.THREE
I want to restore the dump to:
DATA.SET.FOUR
DATA.SET.FIVE
DATA.SET.SIX
Here is the control statement in my job from which I am trying to do this:
RESTORE DATASET (INCL( -
** -
) -
) -
RENAMEU(**.**.**, -
**.**.FOUR) -
INDDNAME(DUMPIN) -
TGTALLOC(SRC) -
TOL(ENQF)
** -
) -
) -
RENAMEU(**.**.**, -
**.**.FOUR) -
INDDNAME(DUMPIN) -
TGTALLOC(SRC) -
TOL(ENQF)
I have experimented, and mainly get JCL errors.
If anyone can point me to a clear description of how the RESTORE statements work, that would be great!!
Thank you!!!