Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

listing all the file names

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
vemsanvs

New User


Joined: 26 Aug 2008
Posts: 2
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 12:44 am    Post subject: listing all the file names
Reply with quote

Hi,i want to list out all the file names that are present in the system by giving the first 4 nodes. for example, if i give abc.def.ghi.ffb then it should list all the files starting with abc.def.ghi.ffb.* but it should not list the generations if any GDG exists. it should list only only the base gdg. Please let me know the syntax how to solve this problem
Back to top
View user's profile Send private message

Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2038
Location: Silicon Valley

PostPosted: Thu Dec 18, 2008 2:53 am    Post subject: Reply to: listing all the file names
Reply with quote

I am not sure how to GDGs are listed here, but I think you want to use the LISTCAT command:
Code:
LISTCAT LEVEL(abc.def.ghi.ffb)
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Dec 18, 2008 10:23 am    Post subject: Reply to: listing all the file names
Reply with quote

Vem,

Quote:
Hi,i want to list out all the file names that are present in the system by giving the first 4 nodes


Why don't you try viewing the datasets by giving just the 4 nodes in 3.4 ?
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: Thu Dec 18, 2008 10:32 am    Post subject:
Reply with quote

Because that would include all of the cataloged generations, not just the base.
Back to top
View user's profile Send private message
vemsanvs

New User


Joined: 26 Aug 2008
Posts: 2
Location: Hyderabad

PostPosted: Thu Dec 18, 2008 11:11 am    Post subject: Reply to: listing all the file names
Reply with quote

Hi, thank you for the quick response.
The problem if we give in 3.4 is the number of files are huge. so the following abend is coming. ISPDTSRS received return code 4 from GETMAIN.

When i am giving the listcat level(abc.def.ghi.ffb), it is showing as invalid option
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Dec 18, 2008 11:21 am    Post subject: Reply to: listing all the file names
Reply with quote

Quote:
Because that would include all of the cataloged generations, not just the base.


Thanks Dick.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Thu Dec 18, 2008 11:22 am    Post subject: Reply to: listing all the file names
Reply with quote

Vem,

Quote:
When i am giving the listcat level(abc.def.ghi.ffb), it is showing as invalid option


If nothing works out go for REXX. Search the REXX forum for LMDINIT LISTID and you would get some working tested code for your requirement.
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: Tue Dec 23, 2008 3:30 am    Post subject:
Reply with quote

Hello,

Quote:
When i am giving the listcat level(abc.def.ghi.ffb), it is showing as invalid option
Is this now working?

If not, post the jcl, control statement, and the complete diagnostic info presented by the problem run.

Someone here will be able to clarify.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us