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



Hi Peter -

On Wed, 13 Jul 2011 10:29:57 -0400, Peter_Vidal@xxxxxxxx wrote:

"There you are specifying the constant without the trailing blanks.

Does the CPYF work correctly or incorrectly if you specify
INCREL((*IF ITNBR *EQ '21737 '))"

Ken, looks like it works when I specify the trailing blanks! Awesome!

Now, how I put this to work within the CL? The debug image I sent
previously clearly demonstrates the content of the variable and I am not
touching its content. Probably the default action of the command is to
*TCAT the variable before the execution? There must be a way to control
that, right?

I see that you got it sorted with Chuck's help.

With what I was doing, I was just running commands from the command
line so I was only using constants, so I didn't run into the
trim-trailing-blanks-from-a-variable issue.

We have lots of CPYF commands in CL programs, but I think they all
just copy the entire file. I'll bear in the mind the strange INCREL
behavior if I ever need to use it in a CL program. (Thanks Chuck!)

Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.

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.