> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mark Pace
> Sent: Friday, February 17, 2006 9:53 AM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: Catch 22 - File problem
> 
> 
> Went to run an ISPF exec.
> I get an allocation error on file  IBMUSER.CPPTEMP1.SCPPWORK
> I tried to manually allocate the file and I get Duplicate 
> file on volume.
> So on Data Set List Utility I put in IBMUSER  and I don't see 
> the file.
> But if I look at the VOLSER the file is on, sure enough it shows up.
> But I can't delete it.  I get
> IDC3012I ENTRY IBMUSER.CPPTEMP1.SCPPWORK NOT FOUND+
> IDC0551I ** ENTRY IBMUSER.CPPTEMP1.SCPPWORK NOT DELETED
> IDC0014I LASTCC=8
> IDC3009I ** VSAM CATALOG RETURN CODE IS 8 - REASON CODE IS IGG0CLEG-42
> 
> And if I try to Catalog the file it simply returns Data set 
> not cataloged.
> 
> I'm such and MVS newb I don't know how to get around this problem.
> 
> 
> 
> 
> Mark D Pace
> Senior Systems Engineer
> Mainline Information Systems


//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE IBMUSER.CPPTEMP1.SCCPWORK NVR FILE(DISK)
//DISK DD DISP=OLD,UNIT=SYSALLDA,VOL=SER=volser

where "volser" is the volume which actually has the dataset on it. This
will delete the sucker! After which, try to allocate it again.

I've dealt with some knowledgable Mainline people before, are they on
vacation so that you can't get in-house help? Just curious. I think
you're with the same Mainline (but maybe not) that we buy 99% of our
zSeries hardware from.

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to