sreehari_04
New User
Joined: 23 Jan 2006 Posts: 7
|
|
|
|
Hi,
In a job iam restoreing the tape dataset into a GDG using restore parameter of the ADRDSSU utility.Here the tape dataset is having records and it was created with paramters(unit=tape,vol)
But job is abending with error msg as Dump dataset is empty.
Please help me to sortout this problem.
And also if possible send me one good example to restore tape dataset into a sequential file or GDG and explain me the importence of include parameter.
Here little bit confusion with unit & volume parameter
Is it possible to restore tape datset using IEBGENER/DFSORT/IDCAMS Utilities?
I already refferd the forum.But i did not get clear picture
Thanks in Advance.
Hari |
|
shyam_shagam
New User
Joined: 07 Sep 2006 Posts: 15 Location: india
|
|
|
|
Hi Sreehari.......
You can use the following code to copy the Tape file to Flat ( Seq file ) file using Syncsort Util.....
//STEP010 EXEC PGM=SYNCSORT
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=Give your Tape File,
// UNIT=TAPE
//SORTOUT DD DSN=Give new flat file,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(900,800),RLSE),
// DCB=*.SORTIN
//SYSIN DD *
SORT FIELDS=COPY
/*
//
U can give Either GDG or Flat file as an sortout file
Thansk,
Shyamsunder S
Thanks,
Shyamsunder S [/b] |
|