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


  • Subject: Re: IBM Manuals wrong for RPG CAT? (Hans?)
  • From: Jim Langston <jlangston@xxxxxxxxxxxxxxxx>
  • Date: Wed, 13 Oct 1999 08:13:09 -0700
  • Organization: Conex Global Logistics Services, Inc.

You are correct.  I looked in my manual and it says:
C* After the concatenation, FLD2 contains 'ABCbbXYZb'

Regards,

Jim Langston

"Stone, Brad V (TC OASIS)" wrote:

> <SNIP>
>    |    *  The following example shows the use of CAT without factor 1.
>    |    *  FLD2 is a 9 character string.  Prior to the concatenation, it
>    |    *  contains 'ABC'; FLD1 contains 'XYZ
>    |    *  After the concatenation, FLD2 contains 'ABCXYZ'.
>    |    *
>    |   C                   MOVEL(P) 'ABC'          FLD2              9
>    |   C                   MOVE     'XYZ'          FLD1              3
>    |   C                   CAT      FLD1:2         FLD2

>
> Shouldn't the first example be 'MR.^SMITH' and the second be 'ABC^^XYZ'?
> (^=space)

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