View previous topic :: View next topic
|
Author |
Message |
sushilchandran
New User
Joined: 21 Jun 2005 Posts: 22
|
|
|
|
hi,
can anyone please help me to come out of this prob.
i had accidentally given the name of my pds instead of the loadlib name and what happens is that the structure of the pds has been changed completly after compilation.now i lost my programs which were the members in that pds.is it possible to recover my lost pds.the former pds was of recfm=fb, lrecl=80 and blksz=8000... now recfm is changed to u. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi sushilchandran,
To recover your lost PDS, your mainframe admin can help if he/ she took backup.
In some mainframe, Admin is taking regularly backup of all PS and PDS.
Regards
Rupesh |
|
Back to top |
|
|
shivashunmugam Muthu
Active User
Joined: 22 Jul 2005 Posts: 114 Location: Chennai
|
|
|
|
in ispf 6 give
hrecover <datasetname> (0) |
|
Back to top |
|
|
sushilchandran
New User
Joined: 21 Jun 2005 Posts: 22
|
|
|
|
thanks.but can anyone explain how is this happening.i mean the change in the characteristics of pds |
|
Back to top |
|
|
elonics
New User
Joined: 05 Jul 2005 Posts: 49 Location: India
|
|
|
|
hi Shiva,
i also faced similar kind of problem. i lost my pds members.
So as u said i gave the same command in ispf 6 .
Quote: |
hrecover <datasetname> (0) |
But it is giving the below message .
Quote: |
DFSMSHSM NOT ACTIVE - REQUEST 00000005 QUEUED |
I need someone help to resolve this.
Elo'nics. |
|
Back to top |
|
|
shivashunmugam Muthu
Active User
Joined: 22 Jul 2005 Posts: 114 Location: Chennai
|
|
|
|
Quote: |
DFSMSHSM NOT ACTIVE - REQUEST 00000005 QUEUED |
It shows that Storage Management Subsystem not active in your environment. Check with system admin, is there any other support installed. |
|
Back to top |
|
|
senti
New User
Joined: 18 Aug 2005 Posts: 19
|
|
|
|
Hi Sushilchandran,
Try this,
//STP0100 EXEC PGM=IEBGENER
//SYSOUT DD SYSOUT=*
//SYSUT1 DD DUMMY,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSUT2 DD DSN=Corrupted.PDS(New_member),DISP=SHR,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSIN DD DUMMY
Give the corrupted PDs memeber in SYSUT2.
I tried and am able to revert back.
Thanks, Senti |
|
Back to top |
|
|
senti
New User
Joined: 18 Aug 2005 Posts: 19
|
|
|
|
Quote: |
Give the corrupted PDs memeber in SYSUT2 |
Small correction to this
Give the corrupted PDS in SYSUT2 |
|
Back to top |
|
|
elonics
New User
Joined: 05 Jul 2005 Posts: 49 Location: India
|
|
|
|
Hi Senti,
Let me be clear about my requirement. i have given my pds name in the SYSPRINT . What happened is i lost all my pds members and also the DCB parametres had got changed.
I dont think ur way of procedure will recover my members back. U r just copying .
If i m wrong, Plz Correct me.
Elonics. |
|
Back to top |
|
|
senti
New User
Joined: 18 Aug 2005 Posts: 19
|
|
|
|
Hey Elonics,
No, its not copying anything as input is dummy.
I presume, u are able to view the members of the PDS,but they are corrupted.Right..?
Code i provided above will change the DCB parameters and hence the contents of its memebers will be reverted to their original form (to cobol pgm etc.).
Regds, Senti |
|
Back to top |
|
|
Ravi gaur
New User
Joined: 12 Jul 2005 Posts: 38
|
|
|
|
use this only need to put your corrupted DATASET name in the sysut2 and run,,,
//STP0100 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DUMMY,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSUT2 DD DSN=CS00688.CLRS.SYSOUT,DISP=SHR,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0)
//SYSIN DD DUMMY |
|
Back to top |
|
|
sushilchandran
New User
Joined: 21 Jun 2005 Posts: 22
|
|
|
|
hi thanks all,
but am still in the same situation.can anyone please explain how is this happening.i mean the change in the characteristics of pds. |
|
Back to top |
|
|
senti
New User
Joined: 18 Aug 2005 Posts: 19
|
|
|
|
Hi Sushilchandran, Please let me know what you tried and whats the error you are getting. |
|
Back to top |
|
|
sushilchandran
New User
Joined: 21 Jun 2005 Posts: 22
|
|
|
|
hi senthil,
i repeat my question.will you agree with me that the characteristics changes if you give any of your pds name instead of your load library,i just want to know how this happens internally.i mean the recfm changes to U and the blksize to 80 irrespective of what your pds characteristics is.
sushil |
|
Back to top |
|
|
senti
New User
Joined: 18 Aug 2005 Posts: 19
|
|
|
|
Hey Sushil, I dont have a solid xplanation for it.But, was just wondering why the resolution which i gave didnt work..?
Thanks, Senti |
|
Back to top |
|
|
sushilchandran
New User
Joined: 21 Jun 2005 Posts: 22
|
|
|
|
i didnt said that it didnt work k.i just want to know the internal functionality thats all k.no hard feelings senti |
|
Back to top |
|
|
|