At 04:16 PM 09/08/1999 -0400, you 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.
I would define my own (phoney) command object with one parameter, defined 
as *NAME.  Then format the command and attempt to run it through 
QCMDCHK.  I think that this would correctly analyze if your name is valid 
by AS/400 syntax.

Al




+--------------------------------------------------+
| Please do not send private mail to this address. |
| Private mail should go to barsa@ibm.net.         |
+--------------------------------------------------+

Al Barsa, Jr. - Account for Midrange-L
Barsa Consulting, LLC.  
400 > 390

Phone:          914-251-1234
Fax:            914-251-9406
http://www.barsaconsulting.com
http://www.taatool.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 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.