Dataset Size

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
User avatar
bharghava_vamsi
Member
Posts: 2
Joined: Tue Mar 28, 2006 12:31 pm

Dataset Size

Post by bharghava_vamsi » Tue Mar 28, 2006 5:04 pm

How can i determine the size of a pds member through jcl?

User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

Try this.

Post by arrbee » Tue Mar 28, 2006 7:11 pm

Code: Select all

//JS001    EXEC PGM=IKJEFT01 
//*                          
//SYSTSPRT DD SYSOUT=*       
//SYSPRINT DD SYSOUT=*       
//SYSOUT   DD SYSOUT=*       
//SYSTSIN DD *               
  LISTDS 'YOUR.DATASET.NAME' 
/*                           
//                           
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

User avatar
rangab
Active Member
Posts: 56
Joined: Fri Mar 17, 2006 3:21 pm

Post by rangab » Wed Mar 29, 2006 5:40 pm

Hello,

bharghava_vamsi wants to know how to get the size of a PDS member in the batch mode by using a utility in a JCL.

Correct me if I am wrong.
========
Ranga...:-0)
========
Learn Which You Don't Know - Teach Others Which They Don't Know.

User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

Oops

Post by arrbee » Thu Mar 30, 2006 1:39 pm

Oops.........I overlooked it.........
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

Post Reply

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



Other References
Mainframe Tools and others