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



From: Winchester Terry <terry.winchester@raymondcorp.com>
> > -- COMPASBIN -- will provide the necessary overrides so that the AS400
> > treats the programs the same as MVS/VSE with respect to COMP.
> >

I'm hijacking this reply to report that even the ILE compiler
still converts binary to packed internally.

     9     000900 77 BIN PIC S9(9) BINARY.
   12     001300     ADD 1 TO BIN

compiles to (W-code)

SBDY   12
LOD1
CVSBPD   <== convert binary to packed
LOD1
ADDP       <== add packed
SHFD
CVPDSB  <== convert packed to binary
STR1

this was compiled with standard options.

Now try COMPASBIN:

  STMT PL SEQNBR -A 1 B..+....2....+....3....+
           000100 PROCESS COMPASBIN
     1     000200 IDENTIFICATION DIVISION.

*        MSGID: LNC0026  SEVERITY: 10  SEQNBR:  000100
         Message . . . . :   Option expected, 'COMPASBIN' found. 'COMPASBIN'
           ignored.

what did I do wrong here?





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.