Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IDCAMS CREATING PROBLEM IN DELETING DATASET

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
RAHUL_PIONEER

New User


Joined: 02 Jul 2008
Posts: 2
Location: hyderabad

PostPosted: Fri Jul 04, 2008 1:27 pm    Post subject: IDCAMS CREATING PROBLEM IN DELETING DATASET
Reply with quote

Hi,
when i tried to delete my dataset using iefbr14 it ran fine without any error code.while when i tried to delete the dataset with IDCAMS it issued an condition code of 16.
Can anyone explain why is that so

My jcl is as follows with IEFBR14.
//UEDBS10A JOB 'RAHUL',CLASS=C,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=UEDBS10.TEMPDS,DISP=(MOD,DELETE,DELETE)
//
My jcl is as follows with IDCAMS:
//UEDBS10A JOB 'RAHUL',CLASS=C,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IDCAMS
//DD1 DD DSN=UEDBS10.TEMPDS,DISP=(MOD,DELETE,DELETE)
//
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Fri Jul 04, 2008 1:30 pm    Post subject: Reply to: IDCAMS CREATING PROBLEM IN DELETING DATASET
Reply with quote

Quote:
IDCAMS CREATING PROBLEM IN DELETING DATASET

IDCAMS does not create any problem,
the way You are using it creates a problem

IDCAMS will return a condition code 16 for a missing SYSPRINT ddname
the way You are using idcams is not the way it should
JCL ( in Your snippet ) does everything as in the IEFBR14 case
IDCAMS is supposed to have a SYSIN dd containing the IDCAMS commands
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us