Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
FTP all member names of modules in a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: FTP all member names of modules in a PDS
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

Site Director


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

PostPosted: Fri Jan 30, 2009 11:50 am    Post subject:
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    Post subject:
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

Site Director


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

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

Hello,

Look here:
http://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: 114
Location: Hyderabad

PostPosted: Fri Feb 06, 2009 5:04 pm    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Feb 06, 2009 5:09 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts RFE: DB2 support for mixed case names. Pedro DB2 0 Tue Jul 04, 2017 1:32 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us