IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to delete a member from PDS & find whether it's exis


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ceema rajith

New User


Joined: 27 Oct 2006
Posts: 4
Location: India

PostPosted: Thu Nov 02, 2006 5:53 pm
Reply with quote

Hi all,

I have two queries.

1)How can we delete a particular member from a pds
without deleting the entire PDS.I tried with utility IEHPROGM it's working fine,but VOL=SER i have to supply which is not constant once it''s migrated.

2)How can we find out whether a member is existing in a particular PDS thr' JCL.

Regards,
Ceema.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Nov 02, 2006 6:11 pm
Reply with quote

Do delete a member you can use:
- ISPF service LMMDEL.
- TSO command DELETE

To check member exitence, you can use:
- Any ISPF service that returns a desired RC for missing member, like LMMLIST, MEMLIST, LMMSTATS etc.
- TSO's SYSDSN function. You can invoke SYSDSN from within REXX.

O.
Back to top
View user's profile Send private message
ceema rajith

New User


Joined: 27 Oct 2006
Posts: 4
Location: India

PostPosted: Fri Nov 03, 2006 11:16 am
Reply with quote

Hi Ofer71,


Can I use TSO delete command from JCL?if yes,how with which utility?
what's the syntax?

SYSDSN is working for searching a membner.

Thanks,
Ceema.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Fri Nov 03, 2006 2:19 pm
Reply with quote

See this previous post.
Back to top
View user's profile Send private message
partha123

New User


Joined: 04 Nov 2006
Posts: 2

PostPosted: Sat Nov 04, 2006 4:00 pm
Reply with quote

hi,

to delete memeber in pds,

just browse the pds and type d in left press enter that particular memeber will be deleted
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Find the size of a PS file before rea... COBOL Programming 13
Search our Forums:

Back to Top