|
|
| Author |
Message |
RAHUL_PIONEER
New User
Joined: 02 Jul 2008 Posts: 3 Location: hyderabad
|
|
|
|
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 |
|
 |
References
|
Posted: Fri Jul 04, 2008 1:27 pm Post subject: Re: IDCAMS CREATING PROBLEM IN DELETING DATASET |
 |
|
|
 |
enrico-sorichetti
Global Moderator
Joined: 14 Mar 2007 Posts: 2649 Location: italy
|
|
|
|
| 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 |
|
 |
Moved: Fri Jul 04, 2008 1:30 pm by superk From DB2 to SMS & VSAM |
|
|