MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

uncatlg

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
culturewyj00
Beginner


Joined: 15 Jun 2006
Posts: 14
Topics: 7

PostPosted: Sun Jun 25, 2006 10:18 pm    Post subject: uncatlg Reply with quote

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
View user's profile Send private message
culturewyj00
Beginner


Joined: 15 Jun 2006
Posts: 14
Topics: 7

PostPosted: Sun Jun 25, 2006 10:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Mon Jun 26, 2006 8:34 am    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Mon Jun 26, 2006 9:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Mon Jun 26, 2006 10:05 am    Post subject: Reply with quote

Why do you want to uncatalog the dataset instead of deleting it?
Back to top
View user's profile Send private message
shekar123
Advanced


Joined: 22 Jul 2005
Posts: 528
Topics: 90
Location: Bangalore India

PostPosted: Mon Jun 26, 2006 10:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group