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



I suspect you'd have to make a data structure that's 400 long. To set the value, you'd need to use two fields,etc.

     IBIGFLD  DS
     I                                        1 200 FLD1
     I                                      201 400 FLD2

The "BIGFLD" in this case is 400, so could be passed to something that needs a 400 character parameter.

I agree that coding RPG III in 2020 is utterly moronic.

On 11/17/2020 1:17 PM, dfreinkel wrote:
I am working on a rpg/400 program adding a call to a program that has one of
its parameter sizes defined as 400 bytes.


When I added the parameter to the call, the editor rejects the variable
because it is greater than 256 characters.


I defined the variable as a data structure.


Is it possible to use a parameter of 400A or do I have to split it into 2
fields. This is not the desired way to do this.


TIA


Darryl Freinkel

A4G.

Tel: 770.321.8562 | Cell: 678.355.8562



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.