Maybe nitpicking, but FILELIST does it work by accessing the directory and
using LISTFILE (ALLFILES
If LISTDIR wouldn't exist, you should not have tried to use FILELIST, but
something simple like
   'LISTDIR' dirid '(LIFO NOSUB'
   parse pull fm .
   if fm='-' then do
      call CSL 'DMSGETFM rc rs fm2list'
      'ACCESS' dirid fm2list
  end
  else fm2list=fm
   ... LISTFILE .... fm2list '(ALLFILE ....'
  if fm2list<>fm then 'RELEASE' fm2list

2007/11/2, Ian S. Worthington <[EMAIL PROTECTED]>:
>
> Thanks Rob.
>
> listdir does the job.
>
> For others, syntax is:
>
> LISTDIR dirid
>
> must be first stage of a pipeline
>
> (How come its never been documented? Just spent an hour faling to get push
> file + filelist trying to behave before giving up in disgust)
>
> i
> ------ Original Message ------
> Received: Fri, 02 Nov 2007 12:03:04 AM GMT
> From: Rob van der Heij <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: Re: LISTFILE of a sfs directory?
>
> > On 11/2/07, Ian S. Worthington <[EMAIL PROTECTED]> wrote:
> >
> > > Is there in fact anyway to get a plain list without accessing a
> directory?
> >
> > If you only need file name and type, Q FILEATTR may help.
> > And the "listdir" stage is there, but I believe it was never
> documented...
> >
> > Rob
> >




-- 
Kris Buelens,
IBM Belgium, VM customer support

Reply via email to