IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FTP all member names of modules in a PDS


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Fri Jan 30, 2009 11:17 am
Reply with quote

Hi,

I have lots of modules in a PDS and I need to get all of the member names in that PDS out on an excel sheet. I need just the module names and thats it.


Any ideas on how I can get this quickly without manually copy pasting each item on my sheet?

Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jan 30, 2009 11:50 am
Reply with quote

Hello,

By whatever means you prefer, create a list of member names - writing the list to a disk file rather than the screen or a sysout. Edit the file to discard any unneeded info.

FTP the file from the mainframe to your desktop system. Import the file into excel and then you have the members in a spreadsheet.
Back to top
View user's profile Send private message
S0C7

New User


Joined: 19 May 2006
Posts: 26

PostPosted: Fri Jan 30, 2009 12:03 pm
Reply with quote

dick scherrer wrote:
Hello,

By whatever means you prefer, create a list of member names - writing the list to a disk file rather than the screen or a sysout. Edit the file to discard any unneeded info.

FTP the file from the mainframe to your desktop system. Import the file into excel and then you have the members in a spreadsheet.


I don't get it. How do I discard the unneeded info. Do you mean copy the entire PDS into a flat file? But that flat file will have all rows from all the members... I just need member names from the PDS.

Please describe in full detail.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jan 30, 2009 12:07 pm
Reply with quote

Hello,

Look here:
ibmmainframes.com/viewtopic.php?t=235

You should be able to use the listds or listdsi and the jcl posted in that topic.
Back to top
View user's profile Send private message
kranthikumarb

Active User


Joined: 02 Jan 2009
Posts: 115
Location: Hyderabad

PostPosted: Fri Feb 06, 2009 5:04 pm
Reply with quote

Hi SOC7 icon_smile.gif ,

Open the dataset and give the following command.
"Save <2nd level qualifier>"

All the members along with their attributes will be copied into a member.
The member name would be

<your user id>.<2nd lever qualifier>.members

I think now you can FTP into an EXCEL sheet.

Hope this helps.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Feb 06, 2009 5:09 pm
Reply with quote

FTP from your PC to the mainframe, piping output to a file. Sign on as usual. Issue the FTP commands:
Code:
cd 'pds.name'
dir
quit
Your file will have all member names in the PDS -- when you set the current directory to a PDS name, the dir cocmmand lists all members in the PDS.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Capturing COBOL job and program names... All Other Mainframe Topics 2
No new posts z/OS Modules Usage report using SMF 42 DFSORT/ICETOOL 2
Search our Forums:

Back to Top