× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Do a DSPFD FILE(MYLIB/QDDSSRC) TYPE(*MBRLIST) OUTPUT(*OUTFILE) OUTFILE(xxxxx)
and then have your clp or rpg read the outfile and for each record do an ovrdbf to the member name of qddssrc
(so for 15 members you call the rpg 15 times, once for each member
jim franz



----- Original Message ----- From: "Ashish Kulkarni" <ashish.kulkarni13@xxxxxxxxx>
To: <rpg400-l@xxxxxxxxxxxx>
Sent: Wednesday, April 01, 2009 10:30 PM
Subject: How to read all the source member is source physical file


HiI have a about 15 members in SRC-PF QDDSSRC in library MYLIB,
i want to write a RPGLE program to loop through all the 15 members, and
check if a object exist for this member, if not then use CRTPF to create a
physical file if the type is PF or CRTLF if the type of file is logical

I can have a CL program to check for object and use CRTPF program, but the i
want a RPGLE or CL program to read all the source member name

Ash
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.