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
 

 

Parameters are need while using IEFBR14 to delete datasets ?

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

New User


Joined: 11 Jul 2007
Posts: 68
Location: noida

PostPosted: Thu May 28, 2009 12:37 pm    Post subject: Parameters are need while using IEFBR14 to delete datasets ?
Reply with quote

Hi All ..

I am using the following code.

Code:
//PS000   EXEC PGM=IEFBR14                                             
//SYSTSPRT  DD SYSOUT=*                                                 
//SYSPRINT  DD SYSOUT=*                                                 
//DD01      DD DSN=my-file-name ,                 
//             DISP=(MOD,DELETE,DELETE),                               
//             MGMTCLAS=STANDARD,STORCLAS=BASE,                         
//             AVGREC=K,SPACE=(4096,(1,2),RLSE)                         
//             RECFM=VB,LRECL=12284       


Can you pls clarify which all parameters are required and in case I am missing some/using some extra

thanks in advance
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu May 28, 2009 12:48 pm    Post subject:
Reply with quote

You need the DSN, DISP=(MOD,DELETE,DELETE) and space parameters for it to work.
Usually SPACE=(TRK,0) will suffice.

But the interest is why do you not use IDCAMS
Back to top
View user's profile Send private message
sunny_io

New User


Joined: 11 Jul 2007
Posts: 68
Location: noida

PostPosted: Thu May 28, 2009 1:05 pm    Post subject: Why noy IDCAMS .
Reply with quote

The file I'm using as input has symbolic parameters in its name..
So I am not using IDCAMS as giving the datasets in SYSIN card.
the job dosn't resolve them so I opted the IBM dummy IEFBR14 program..

Does it effect the performance or depict naive coding ?

Appreciate the concern.

Thanks
Sunny
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu May 28, 2009 2:02 pm    Post subject: Reply to: Parameters are need while using IEFBR14 to delete
Reply with quote

Hi,

the difference between using IEFBR14 and IDCAMS is that if the dataset is migrated, IEFBR14 will recall the dataset back to disk and then delete it,
IDCAMS will issue a HDELETE instead.


Gerry
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 REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm


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