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: 10256
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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Strings with double quotes having pro... raja Arumugam All Other Mainframe Topics 11 Thu Mar 30, 2017 10:34 am
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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