|
In RPG you could use the unix api's to read a directory's contents. Then you could do whatever you want with the file name & path. Check the RPG archives for opendir, readdir, closedir, lstat and/or unix-like api's. Phil > --__--__-- > > Message: 11 > Subject: CGI Automated Documentation > To: as400programmer@yahoogroups.com, Easy400Group@yahoogroups.com, > midrange-l@midrange.com > From: Peter_Vidal@pall.com > Date: Tue, 26 Mar 2002 10:34:51 -0500 > Reply-To: midrange-l@midrange.com > > I am thinking about creating a "flat" file on the AS400 and load (from my > specific CGI directory) all the object links in it. I know that I can display > the objects links using DSPLNK but I need them in a file instead, so I can >read > this file in a CL but there are no other output options but screen or paper. > How can I do this? > > This is because we document in a weekly basis every production program we have > in our system. As part of the process, we obviously use the DSPPGMREF command > in order to pull all the information we are looking for and then we load all > this references into a database file (let's call it PGMREF), so we can search > over any piece of information we want, like WHERE USED and so on. Now, we >need > to document also ALL OUR CGI SOURCES in terms of the files used in each one >and > include them in our database PGMREF in order to have the WHOLE PICTURE. I >know > the folders to use in our IFS but I want to do all this on the AS400. > > TIA > > Peter Vidal > Pall Aeropower Corp. > Senior Programmer Analyst >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.