|
>Date: Tue, 28 Dec 1999 17:32:58 -0700 >From: "David Morris" <dmorris@plumcreek.com> > >A couple of years ago, I created some procedures that used operational >descriptors to retrieve the length of *VARSIZE parameters. These parameters >were also defined as CONST. Since VARYING length strings became available, >I have been using VARYING in most cases. I also found out that passing a >varying field to a procedure that received a *VARSIZE CONST parameter worked >just fine... at least I thought it was OK. I had a program receive an error >that has not been modified for some time. The error was caused because the >operational descriptor for the field said the length received was 32768, >where the length of the varying string passed was 1. >... David, APAR SA86199 relates to CONST varying length parameters. It will have PTFs for V4R4 and V4R2. Any operational descriptor info for varying length parameters that appears to be correct IS correct - some types of parameters don't have a problem. Barbara Morris +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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 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.