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: 10327
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts LMINIT problem - not finding DDNAME Danielle.Filteau CLIST & REXX 7 Tue Sep 19, 2017 9:57 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

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