× 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 all,

I've been given a file and asked to summarize by a binary ID field.

File FOO:
      A          R FOOA
      A            FIELD          9B 0
      A          K FIELD

So, I pulled out the trusty cycle:

      FFOO     IP  E           K        DISK
      IFOOA
      I                                              FIELD L1

And promptly received:
*QRG4067
Severity 10
Control Level/Matching Field entries not blank for binary field.  Entry
defaults to blank.

Fine, I'll just code it up in ILE:
FFOO       IP   E           K DISK
IFOOA
I
                                     FIELD         L1
And promptly received:
*RNF4067
Severity 20
Control-Levels or Matching-Fields entry is not blank for input
field.

Why does RPG and ILE not support all the datatypes in OS/400?
What could possibly be wrong (or somehow so difficult as to not be
supported) with breaking on a binary field?

So now what?  I can't redefine the file -- It's someone else's.  I have go
back to the stone age and internally describe it.  Or use hand made level
break code.  Anyone have a brighter idea?

Thank you.

Regards,
Rich



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.