Hi All,
I am trying to the list of datasets with the follwoing requirements.
Input 1 – Date in the format of mm/dd/yyyy
Input 2 – High level qualifier of the dataset.
Output : List of datasets created before the date specified in Input 1 with high level quali-fier provided in Input 2.
but i dont have any idea of how to get it, I have heard that it can e done easily using REXX. Can you please help me out in JCL
List of datasets created before the date specified
Moderators: Frank Yaeger, DikDude, Moderator Group
-
- Member
- Posts: 20
- Joined: Mon Dec 30, 2013 6:03 pm
-
- Member
- Posts: 20
- Joined: Mon Dec 30, 2013 6:03 pm
Using the following code im able to achieve half of the requirement( regarding high level qualifier)
Output im getting
Is there any other way which is better than this??
and i have no idea of how to filter according to the date..
Code: Select all
//LISTDS EXEC PGM=IKJEFT1B
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
EXEC 'SYS1.SAMPLIB(IGGCSIRX)' EXEC
IN5637S.P*.**
//*
Code: Select all
READY
EXEC 'SYS1.SAMPLIB(IGGCSIRX)' EXEC
ENTER FILTER KEY
CATALOG ICFCAT.TSO5
NONVSAM IN5637S.PL1 TSO004
NONVSAM IN5637S.PL1.INOUT.AMBLT.OUTPUT TSO005
NONVSAM IN5637S.PL1.INOUT.AMBLT.OUTPUT.BK TSO004
NONVSAM IN5637S.PL1.INOUT.IBANIN TSO002
NONVSAM IN5637S.PL1.LOADLIB TSO007
READY
END
and i have no idea of how to filter according to the date..
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