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

Can i Delete many member or type in one group item in jcl?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
HarikrishnanR
Currently Banned

New User


Joined: 18 Jul 2006
Posts: 1
Location: India

PostPosted: Thu Jul 20, 2006 9:32 am
Reply with quote

Can I delete many members or types in one group item in JCL? If yes pls explain it.
My Question is if the group name is sss011.hhhh then can I delete many type or member in that group concurrently.
Back to top
View user's profile Send private message
Hanfur

Active User


Joined: 21 Jun 2006
Posts: 104

PostPosted: Thu Jul 20, 2006 11:53 am
Reply with quote

Hari,

If you want to delete entire memebers which comes in side to PDS you can use IEHPROGM utlity in batch as given below.

Code:
//TESTAAA  JOB (XX,TEST),'HAN TEST.',                       
//         CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID                         
//*                                                                   
//STEP010 EXEC PGM=IEHPROGM,REGION=1024K                             
//SYSPRINT DD SYSOUT=X                                               
//DD1 DD UNIT=3390,VOL=SER=PRNA46,DISP=OLD                           
//*                                                                   
//SYSIN DD *                                                         
 SCRATCH DSNAME=YOUR DATAST NAME,VOL=3390=PRNA46                 
/*     



If you want to delete a member from the your PDS in SYSIN card you have to code
Code:
SCRATCH DSNAME=YOUR DATAST NAME,VOL=3390=PRNA46,MEMEBR=TEST1


One thing to note is you have to specify the Device Volume and ser..

-Han.
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 How to delete a user's alias from the... JCL & VSAM 11
No new posts SMF record type 30 JCL & VSAM 8
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
Search our Forums:

Back to Top