|
Hi Don,
Try using RTVMBRD in your CL pgm, passing the Lib/File/Mbr. You could
even grab some attributes like create date, last used... If the member
does not exist, you'll get a CPF9815 msg and take appropriate actions.
Hope this helps, good luck
Wayne
"Fisher, Don" wrote:
>
> I don't suppose any of you can tell me how to validate a member name without
> coding my own routine? I have an application where a member name will be
> entered and I want to make sure the system will take it before I submit the
> job to execute the command that will use the member name.
>
> I have checked the manuals and even wrote a CL program to attempt an ADDPFM
> command to a file that does not exist. Trouble with that is the CPD0078
> error message is a diagnostic and not picked up by MONMSG.
>
> Any ideas would be greatly appreciated.
>
> Donald R. Fisher, III
> Project Manager
> Heilig-Meyers Furniture Company
> (804) 784-7500 ext. 2124
> Don.Fisher@HeiligMeyers.com
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---
--
______________________________________
Wayne W. Capwell
Red Oak Technologies, Inc.
11301 Carmel Commons Blvd., Suite 114
Charlotte, NC 28226
704-945-1067
Manufacturing...Production...Solutions
http://www.redoaktech.com/
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.