Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : programming pearls - Good judgement comes from experience, and experience comes from bad judgement.

Google
 
Web mainframegurukul.com


Visit mainframe jobs page to search mainframes jobs on top job websites.


How to delete PDS member alone thru a jcl

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
Sweetu
Guest





PostPosted: Fri Jun 16, 2006 4:01 pm    Post subject: How to delete PDS member alone thru a jcl Reply with quote

Can any1 help me with this How to delete PDS particular member alone thru a jcl.
Back to top

arrbee
Active Member


Joined: 24 Feb 2006
Posts: 147

PostPosted: Sat Jun 17, 2006 10:56 am    Post subject: Reply with quote

Sorry. It is not possible.
_________________
Arr Bee
-------------
“My joy in learning is partly that it enables me to teach” - Seneca(Roman philosopher, mid-1st century AD)
Back to top
View user's profile Send private message Send e-mail
Diya
Guest





PostPosted: Wed Jun 21, 2006 3:06 pm    Post subject: Reply with quote

Ya its possible thru IDCAMS.
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT = *
//SYSIN DD *
DELETE Data-set-name(membername)
/*

this will delete the that particular member alone.
For this u can use IEHPROGM

hope this helps u

luv
diya
Back to top
arrbee
Active Member


Joined: 24 Feb 2006
Posts: 147

PostPosted: Tue Jun 27, 2006 11:46 am    Post subject: Reply with quote

Oops......sorry......I think it is not possible to delete all the members in a PDS using a JCL utility (REXX is an exception).

Please correct me if I am wrong.
_________________
Arr Bee
-------------
“My joy in learning is partly that it enables me to teach” - Seneca(Roman philosopher, mid-1st century AD)
Back to top
View user's profile Send private message Send e-mail
sachininx
Member


Joined: 28 Jan 2010
Posts: 8
Location: CHENNAI

PostPosted: Fri Jan 29, 2010 9:20 pm    Post subject: Reply with quote

Diya is wright... it is possible i checked
please get the complete jcl
//job name JOB (12345),'JCL',CLASS=3,
// MSGCLASS=X,NOTIFY=user
// MSGLEVEL=(1,1),
//STEPn01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE DATA.SET.ONE(member)
/*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//CEEDUMP DD SYSOUT=A
//SYSUDUMP DD SYSOUT=A
_________________
Sachin
Back to top
View user's profile Send private message
skolusu
Member


Joined: 26 Jul 2008
Posts: 30

PostPosted: Tue Feb 02, 2010 6:02 am    Post subject: Reply with quote

arrbee wrote:
Oops......sorry......I think it is not possible to delete all the members in a PDS using a JCL utility (REXX is an exception).

Please correct me if I am wrong.


Arrbee,

Check out the smart DFSORT trick "Delete all members of a PDS"

http://www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094
_________________
Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Hi plz help me out 4 Guest 4345 Tue Jun 16, 2009 5:58 pm
dbzTHEdinosauer View latest post
No new posts IAM BEGINNER IN JCL ...PLZ HELP ME 2 Guest 9845 Sun May 14, 2006 6:10 pm
Guest View latest post
No new posts File-Aid Help 1 Nicholas 7269 Thu Apr 13, 2006 2:12 pm
rangab View latest post
No new posts Search Batch file-aid help 6 frenchman 8071 Tue Mar 28, 2006 5:30 pm
Guest View latest post
No new posts executing java program thru JCL 1 Guest 5900 Fri Mar 17, 2006 10:14 am
arrbee View latest post
 



This widget requires Flash Player 9 or better








Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB