× 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 see the error. The field you commented out needs to be an Input field. Dspatr(ND) dspatr(PR) to hide and protect it.

Chris Bipes
Director of Information Services
CrossCheck, Inc.


-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of CRPence
Sent: Wednesday, April 27, 2016 12:08 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Considerations for changing QPWDLVL from 0 or 1 to 2

On 27-Apr-2016 13:45 -0500, Rob Berendt wrote:
On 27-Apr-2016 12:28 -0500, Rob Berendt wrote:
I tried it with, and without, the 2 byte hidden field after
dropping the password from 10 characters down to 8.
A 01 07 17'Password ...'
A 01 PASSWRD 8 I 07 53
A DSPATR(ND)
A* DUMMY 2 H

The buffer was off by 2 characters either way.

<<SNIP>>
As shown, the field DUMMY is commented. Seems the <snipped> problem
for the two bytes gone missing would be expected, if the DSPF was
compiled that way.?

When I said
<snip>
I tried it with, and without, the 2 byte hidden field
</snip>
please interpret that as with and without the comment.


Understood. Seems suspect however, that the /without the comment/
scenario would give the same\unchanged result [i.e. "buffer was off by 2
characters"] as the /with the comment/ scenario.

Using the Test Display File of the STRSDA shows the buffer of the
DSPF created with the DUMMY field being present along with the shortened
PASSWRD field, to be matching\consistent with that of the DSPF created
from the original DDS.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.