Hi. I was planning to use CFGHTTPSCH to build a list of files in an IFS folder but it would appear it has been removed from V7R1. Does anyone know another way of achieving this?
Announcement
Collapse
No announcement yet.
Cfghttpsch
Collapse
X
-
A list of files in /home/myhomedir can be created with:
The list would be written into /home/myhomedir/mylists/flist.txt.Code:QSH CMD( 'ls /home/myhomedir >/home/myhomedir/mylists/flist.txt' )
The resulting streamfile can be processed as is or copied into a PF member. Or you can create a basic PF and list directly into it:
Pretty simple. Should only take minimal experimentation. Other methods are possible.Code:CRTPF FILE( mylib/FLIST ) RCDLEN(128) QSH CMD( 'ls /home/myhomedir >/QSYS.LIB/mylib.LIB/flist.file/flist.mbr' )
Tom
There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.
Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?


Comment