|
This is how I did it:
/* CHECK FOR WEEK MEMBERS OF PHYSICAL FILES AND ADD AS NEEDED */
CHKOBJ OBJ(VAVLTV) OBJTYPE(*FILE) MBR(WEEK)
MONMSG MSGID(CPF9801 CPF9815) EXEC(ADDPFM +
FILE(VAVLTV) MBR(WEEK))
I hope this helps.
-----Original Message-----
From: Fisher, Don [mailto:DRF@HeiligMeyers.com]
Sent: September 08, 1999 4:16 PM
To: 'Midrange List'
Subject: Validating a member name
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
+---
+---
| 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.