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



Each name in both the qualified [by library or library search special value] and unqualified name needs to be specified as variable [e.g. CPYFRMIMPF ERRRCDFILE(&L/&F &M)], or the completed\concatenated command-string must be passed to a command shell\interpreter [e.g. CALL QSYS/QCMDEXC PARM(&ImportRqs &RqsStrLen)]

When one CL variable is incorrectly used to represent all three values in a CLP invocation of the command, the effect of variable replacement for the command request would be something like ERRRCDFILE('a_single_string_trunc') for which an error such as CPD0078 "Value 'a_single_s' for parameter ERRRCDFILE not a valid name." would diagnose the incorrect usage.

Regards, Chuck

On 07 Aug 2012 14:41, John McKee wrote:
I know I saw this maybe three weeks ago.

Command has a single parameter used for library, file, and member.
How are they specified in a CL as variables?

Specifically, when viewed with F14:

CPYFRMIMPF ... ERRRCDFILE(LIB/FILE MBR)

But, when I try to build that string in CL, the program ends. Says
library/file is incorrect. The value in the dump shows library a
slash, and the member - but truncated. Obviously too long.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.