Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10388
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 Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts TBSARG - Deleting the search criteria... ISPFHerc TSO/ISPF 6 Thu Dec 14, 2017 8:18 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Having a problem FTP'ng to the MF pahiker All Other Mainframe Topics 2 Fri Nov 10, 2017 8:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us