Julio_Domingo wrote:

>  You
>can easily put the slash in a variable and place the change variable in a
>do loop depending on the value of  base parm.  If you substring the base
>parms for the first position and find an '*' you will know you do not need
>the library and slash.

This is, of course, true; but it ignores a fundamental fact of CL programming. 
You can easily place the slash into the variable and you can easily have the 
variable contain either '*NONE' or a qualified 'library/object' name, but the 
CRTUSRPRF command will fail when you try to actually execute it with a full 
qualified name in the variable for that parameter.

This because a parameter such as INLPGM() is designed to accept a _list_ of 
values, not a just a value. For this parameter, there is a special _single_ 
value that is allowed and that single value _must_ be "*NONE" unless a valid 
_unqualified_ object name is supplied. And even when a valid object name is 
supplied, the library component will be defaulted to *LIBL causing both list 
elements to have a value.

Tom Liotta

-- 
Tom Liotta
The PowerTech Group, Inc.
19426 68th Avenue South
Kent, WA 98032
Phone  253-872-7788 x313
Fax    253-872-7904
http://www.powertechgroup.com


__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

This thread ...


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

This mailing list archive is Copyright 1997-2020 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].