How to delete PDS member alone thru a jcl
Moderators: Frank Yaeger, DikDude, Moderator Group
How to delete PDS member alone thru a jcl
Can any1 help me with this How to delete PDS particular member alone thru a jcl.
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
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
Arrbee,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.
Check out the smart DFSORT trick "Delete all members of a PDS"
http://www.ibm.com/support/docview.wss? ... g3T7000094
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page