LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (January 2002, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 23 Jan 2002 23:31:43 GMT
Reply-To:     Huck <huck@SKIPTHISFINN.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Huck <huck@SKIPTHISFINN.COM>
Organization: AT&T Worldnet
Subject:      Re: List of Mvs Files With a Wildcard

pauls was cuter, but this also shows how to start tso as a mvs step

On 23 Jan 02 11:35:23 GMT, peter.crawford@DB.COM (Peter Crawford) wrote:

>If you have an tso session, it could >execute the ispf commands > dslist 'thedata*.*' ; save datalist >which would generate a file "&useridprefix.datalist.datasets" >with lots of info about all datasets matching filter thedata*.* >Without ISPF available, you could capture the output from the > listcat command in PGM=IDCAMS >This can be executed in batch via jcl or in a sas session >on mvs/os390 as proc idcams. > > >One limitation of the listcat command is that the* global character >can not be used for only part of a name level, only for a whole level >So listcat level('hlq.slq.date*.data') volume outfile(resultF) >is not valid, but this is > listcat level('hlq.slq.*.data') volume outfile(resultF) > > >I know no way of using the filter in the ftp engine, >but you might use the features of the ftp filename engine, like > > filename dirs ftp '' /* provide _no_ physical name */ > ls /* list files instead */ > cd = "'hlq.slq'" /* high level qualifies to list*/ > host = "&ipAddress"/* of ftp server */ > user = "&yourID" > prompt /* for password */ > ; >Of source, this won't tell you which datasets are on-line >or migrated, but it makes a good start; > >If you provide a pds name at cd="'name'" >then LS returns the member list > >If you find some way of issuing a remote command (like LIST) to >provide further detail, let us know. >I haven't found the way, yet ! > >good luck >Regards >Peter Crawford > > > >Datum: 22.01.2002 22:19 >An: SAS-L@LISTSERV.UGA.EDU > > > > >Antwort an: Gary Ross <gary_ross@MGIC.COM> > >Betreff: List of Mvs Files With a Wildcard >Nachrichtentext: > >How can I get a list of Mvs files similar to what can be issued on Unix >command with wildcards? > >For example: ls -l thedata*.* > >Once I get the Mvs list to Unix, I will be processing those files using >a Saspipe ftp process which is working. I just don't want to have to >tweak the program everytime I need to run it because the number of flat >files and the beginning qualifiers of the dataset names change. Any >thoughts? > > > > > >-- > >Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. > >This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


Back to: Top of message | Previous page | Main SAS-L page