Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


How to read all the members from JCLLIB

How to read all the members from JCLLIB

How to read all the members from JCLLIB

Hi All,
I am new to Cobol and mainframe. I have been provided with a question where in I have to code a cobol program which will read all the members of the JCLLIB, PROCLIB and Control Card. Once the read is done, we will have to store all these in array and after that we have to prepare the report from that array.
I am not able to read the data from the libraries provided above. It will be really helpful if any of you can provide help to me on this.


RE: How to read all the members from JCLLIB

That is fairly advanced programming nad you will have to learn how to interface with the ISPF library management routines to access each member.


RE: How to read all the members from JCLLIB

It has been over twelve years since I have been on the mainframe but there is an IBM utility that will dump a PDS to a flat file. There will be stuff you don't care about but it will have all the contents of the PDS available in a flat file.

I think it is this:



RE: How to read all the members from JCLLIB

I have a funny solution for that perhaps. I use the ISRSUPC (search for utility) by searching for one single space to get everything into one file and I read between the lines. In a pc environment when the file is downloaded, I re-create the members again into the directory it is running on. Probably not the best approach but it worked. I have a working source for CA-REALIA COBOL.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close