× 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.



Other than the DSPFD's suggestions you will see maybe a RTVMBRD will work.

The following is a simple CL I used to do some testing.

PGM PARM(&FILE &LIB)

DCL &FILE *CHAR 10
DCL &LIB *CHAR 10
DCL &MBR *CHAR 10

/* Priming "read" */
RTVMBRD FILE(&LIB/&FILE) MBR(*LASTMBR) RTNMBR(&MBR)
SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA(&LIB +
*TCAT '/' || &FILE *BCAT '==> ' || &MBR) +
TOPGMQ(*EXT) MSGTYPE(*INFO )
LOOP:
RTVMBRD FILE(&LIB/&FILE) MBR(&MBR *PRV) RTNMBR(&MBR)
MONMSG MSGID(CPF3049) EXEC(GOTO CMDLBL(DONE))
SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA(&LIB +
*TCAT '/' || &FILE *BCAT '==> ' || &MBR) +
TOPGMQ(*EXT) MSGTYPE(*INFO )
GOTO LOOP
DONE:
SNDPGMMSG MSGID(CPF9898) MSGF(QCPFMSG) MSGDTA('* * * * +
End of List * * * *') TOPGMQ(*EXT) +
MSGTYPE(*INFO)

END:
ENDPGM


Bryan


Hatzenbeler, Tim said the following on 12/27/2007 12:56 PM:
Is there a table, I can SQL, that contains the member names of a pf-src file?

Thanks, Tim


------------------------------------------------------------------------------
This e-mail message, including any attachments, is for the
sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.


==============================================================================


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.