|
I don't think its the data structure, but the call to the API. Check the value of the 2nd parm. Is it correct? Are you using %SIZE or %LEN to determine the value? -Bob > > Mike Smith wrote: > > >We just upgraded from V5R1 to V5R2 over the weekend. > >As a result i now have a program that is using QUSRTVUS > >api that is blowing up with a 'Receiver too small' > > I have dozens of these program and didn't hear a peep when we went > to V5R2. > > >Here is the DS that i'm having problems with, > >but i'm not sure what the values should be changed to. > > > > D Fldinfo ds > > D Fldname 1 10 > > D Dtatype 11 11 > > D Fldused 12 12 > > D Boutpos 13 16b 0 > > Without knowing what you populated the user space with, it's > practically > impossible to tell what's wrong with this data structure, but I would > strongly advise that you change the binary data type (b) to integer > data > type (i). The binary data types intentionally truncate large > numbers. It's > in the FAQ. http://faq.midrange.com > --buck > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) > mailing list > To post a message email: RPG400-L@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/rpg400-l > or email: RPG400-L-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.