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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare the member of two pds on las... DFSORT/ICETOOL 13
No new posts Extract records for a specific condit... DFSORT/ICETOOL 25
No new posts creat new line command in front of Me... TSO/ISPF 4
No new posts PDS member list with stats JCL & VSAM 6
No new posts Sort based on the record type DFSORT/ICETOOL 1
Search our Forums:


Back to Top