Use the command DSPPGMREF, to an *OUTFILE. This will give you what you
want.
Thanx,
Nick
Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx
"Jeff" <jeffw@xxxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
06/25/2009 08:26 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
"'RPG programming on the IBM i / System i'" <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Program to read a programs F specs
Hi everybody. I am looking for a way to have a program read a program and
make a list of the files in the F specs or programs that are called in the
program. Hope this make sense. For example take this code from this
program:
FSCHSCL01 IF A E K DISK
FITEMASL3 IF E K DISK
FCUSMAL07 IF E K DISK
CALL 'USC01AB'
PARM P#TERR
The output list should include the following:
SCHSCL01
FITEMASL3
CUSMAL07
USC01AB
Any help is appreciated. Thanks
Jeff Williams
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.