|
Comments inline
On 4/19/2013 1:08 AM, CRPence wrote:
-snip-Sorry for confusion here - I really did mean to say another variable,
Vernon Hamberg on Thursday, April 18, 2013 4:53 PM wrote:It need not be /another/ parameter, just a redefinition of the
Your first parameter has to be defined with length 502 - because
the varying puts the length in the first 2 bytes.
If you are current enough, you can set up another 502-long
parameter - I forget, but either *BASED or *DEFINED variables can't
be declared over parameters.
storage for the parameter &text [after correction to include all 502
bytes]. The /current enough/ refers to the availability of the STG()
parameter on the DCL, since v5r4.
not parameter. I did come across a scenario where I had to copy the
parameter to this variable - I believe it was *BASED on a pointer to the
parameter, because I see that I was able to use *DEFINED over a parameter.
I don't have the source now that showed the behavior, perhaps someone
else can confirm or deny.
-snip-
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.