View previous topic :: View next topic |
Author |
Message |
culturewyj00 Beginner
Joined: 15 Jun 2006 Posts: 14 Topics: 7
|
Posted: Sun Jun 25, 2006 10:18 pm Post subject: uncatlg |
|
|
I want to uncatlog a dataset.
I try to use this jcl to complete the task
Quote: | //IEHPROGM JOB (ST084),'IEHPROGM',
// MSGLEVEL=(1,1),NOTIFY=&SYSUID
//STEP010 EXEC PGM=IEHPROGM,REGION=4M
//*
//SYSPRINT DD SYSOUT=*
//DD1 DD UNIT=3390,VOL=SER=TS0001,DISP=OLD
//*
//SYSIN DD *
UNCATLG DSNAME=ST084.IEFBR.TEST1
/* |
but i failed.how to correct it? |
|
Back to top |
|
 |
culturewyj00 Beginner
Joined: 15 Jun 2006 Posts: 14 Topics: 7
|
Posted: Sun Jun 25, 2006 10:20 pm Post subject: |
|
|
sorry !forget to give error message.
Quote: |
IEF244I IEHPROGM STEP010 - UNABLE TO ALLOCATE 1 UNIT(S) 545
AT LEAST 1 OFFLINE UNIT(S) NEEDED.
IEF877E IEHPROGM NEEDS 1 UNIT(S) 546
|
|
|
Back to top |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Mon Jun 26, 2006 8:34 am Post subject: |
|
|
Hai All,
I tried uncatalogging a dataset using the JCL as below but i am failing to do so and i am getting RC=8.Can anyone help me out what exactly is the meaning of the error ?
Code: |
//STEP010 EXEC PGM=IEHPROGM
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//DD1 DD VOLUME=SER=TEST02,UNIT=SYSDA,DISP=OLD
//SYSIN DD *
UNCATLG DSNAME=SHEKAR.TEST.IN
/*
//
|
OUTPUT
Code: |
SYSTEM SUPPORT UTILITIES ---- IEHPROGM
UNCATLG DSNAME=SHEKAR.TEST.IN
IEH210I YOUR REQUEST CANNOT BE SERVICED....
UNCATALOG OF AN SMS MANAGED DATA SET IS NOT ALLOWED ... UNUSUAL END
UTILITY END |
_________________ Shekar
Grow Technically |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Mon Jun 26, 2006 9:57 am Post subject: |
|
|
Quote: |
UNCATALOG OF AN SMS MANAGED DATA SET IS NOT ALLOWED
|
Shekhar,
That should have given you a clue as to why your Job failed. With SMS, UNCATLG is ignored for SMS-managed data sets.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Mon Jun 26, 2006 10:05 am Post subject: |
|
|
Why do you want to uncatalog the dataset instead of deleting it? |
|
Back to top |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Mon Jun 26, 2006 10:23 am Post subject: |
|
|
Kolusu and Taltyman,
Thanks guys.I had a brief clue about the problem description but i was not knowing that we cannot Uncatlog a SMS Managed dataset.I just wanted to run the job to see what the output comes out . _________________ Shekar
Grow Technically |
|
Back to top |
|
 |
|
|